Socket
Book a DemoInstallSign in
Socket

radiant-navigation-extension

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radiant-navigation-extension

2.0.3
bundlerRubygems
Version published
Maintainers
2
Created
Source

= Navigation Tags

Provides hierarchical tree navigation based on Radiant's site structure. Outputs navigation in the form of a -very flexible and CSS'able- unordered list. Also provides r:if_self and r:if_ancestor_or_self

== Usage

<r:nav [root="/"] [include_root="true"] [depth="2"] [expand_all="true"] [ids_for_lis="true"] />

Given this directory tree:

  • Home ** About *** Contact us ** Blog *** First Article *** Second Article ** Catalog

<r:nav /> would output a navigation list like:

  • About
  • Blog
  • Catalogue

== Available tag attributes:

  • ids_for_lis: defaults to false, enable this to give each li an id (it's slug)
  • root: defaults to "/", which page to start building the navigation from
  • include_root: defaults to false, set to true to include the root page (i.e. Home)
  • depth: defaults to 2, which will print out the first two levels of pages.
  • expand_all: defaults to false, enable this to have all li's create sub-ul's of their children, i.o. only the currently active li
  • id, class, monkeyballs, ... will be used as html attributes for the ul

= NOTES

  • This does not behave like the original extension and has been made to simply support calling the tag

= CREDITS

  • Ryan Heneise
  • Marty Haught
  • Benny Degezelle

FAQs

Package last updated on 08 Dec 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.