Jekyll Menus screenshot

Jekyll Menus

Author Avatar Theme by Forestryio
Updated: 14 Oct 2021
135 Stars

A menus (site navigation) plugin for your Jekyll website that also works with https://forestry.io (Jekyll CMS)

Categories

Overview

Jekyll Menus is a robust and simple-to-use menu plugin for Jekyll that allows for infinitely nested menus. It provides the ability to create menus by attaching posts and pages to menus through their front matter or by defining custom menu items.

Features

  • Infinitely Nested Menus: Jekyll Menus supports the creation of menus with unlimited levels of nesting.
  • Front Matter Integration: Menus can be created by adding a menus variable to the front matter of posts and pages.
  • Custom Menu Items: Custom menu items can be defined using the _data/menus.yml file, allowing for menus that include external or non-Jekyll content.

Installation

To install and use Jekyll Menus, you should have Ruby and either RubyGems or Bundler. If you prefer to use Bundler, you can add the gem to the jekyll_plugins group in your Gemfile and install it from the shell. If you are using Jekyll Docker, the installation step is not required as Jekyll Docker will handle it for you.

If you are using RubyGems, you can install the gem and add it to your _config.yml file. Note that in earlier versions of Jekyll, plugins should be referred to as gems.

Summary

Jekyll Menus is a user-friendly plugin for Jekyll that allows for the creation of nested menus. It provides flexibility in creating menus through both front matter integration and custom menu items. By using Jekyll Menus, developers can easily enhance their Jekyll websites with organized and customized menus.