All Projects → getgrav → Grav Plugin Breadcrumbs

getgrav / Grav Plugin Breadcrumbs

Licence: mit
Grav Breadcrumbs Plugin

Projects that are alternatives of or similar to Grav Plugin Breadcrumbs

buoys
A Ruby on Rails breadcrumb plugin.
Stars: ✭ 27 (+80%)
Mutual labels:  breadcrumbs
SemanticBreadcrumbLinks
Provides in-page navigation by building breadcrumb links from an attributive property filter.
Stars: ✭ 15 (+0%)
Mutual labels:  breadcrumbs
React Router Breadcrumbs Hoc
tiny, flexible, HOC for rendering route breadcrumbs with react-router v4 & 5
Stars: ✭ 276 (+1740%)
Mutual labels:  breadcrumbs
menus
Laravel Enso main menu manager, for easy management of the application menus straight from the interface, whether that means adding, removing or reordering them
Stars: ✭ 15 (+0%)
Mutual labels:  breadcrumbs
joplin-note-tabs
Allows to open several notes at once in tabs and pin them.
Stars: ✭ 150 (+900%)
Mutual labels:  breadcrumbs
gatsby-simple-blog
an easily configurable gatsby-starter-blog with overreacted looking and tags, breadcrumbs, disqus, i18n, eslint, algolia supported
Stars: ✭ 48 (+220%)
Mutual labels:  breadcrumbs
ember-breadcrumb-trail
Minimalistic but very flexible breadcrumb management solution for Ember applications.
Stars: ✭ 13 (-13.33%)
Mutual labels:  breadcrumbs
React Tunnels
🚇 Render React components in placeholders that are placed somewhere else in the component tree.
Stars: ✭ 398 (+2553.33%)
Mutual labels:  breadcrumbs
DNTBreadCrumb.Core
DNTBreadCrumb.Core Creates custom bread crumb definitions, based on Twitter Bootstrap 3.x features for ASP.NET Core applications.
Stars: ✭ 32 (+113.33%)
Mutual labels:  breadcrumbs
m2.Breadcrumbs
Magento2. Extension add breadcrumbs to pages in Magento2 that by default do not have breadcrumbs.
Stars: ✭ 17 (+13.33%)
Mutual labels:  breadcrumbs
nextjs-breadcrumbs
A dynamic, highly customizable breadcrumbs component for Next.js
Stars: ✭ 70 (+366.67%)
Mutual labels:  breadcrumbs
use-react-router-breadcrumbs
tiny, flexible, hook for rendering route breadcrumbs with react-router v6
Stars: ✭ 170 (+1033.33%)
Mutual labels:  breadcrumbs
raygun4ruby
The Ruby & Ruby on Rails provider for Raygun
Stars: ✭ 37 (+146.67%)
Mutual labels:  breadcrumbs
laravel-breadcrumbs
Simple breadcrumbs package for your Laravel project.
Stars: ✭ 23 (+53.33%)
Mutual labels:  breadcrumbs
Django Sitetree
Reusable application for Django introducing site tree, menu and breadcrumbs navigation elements.
Stars: ✭ 330 (+2100%)
Mutual labels:  breadcrumbs
jekyll-breadcrumbs
Creates breadcrumbs for Jekyll 3.x, includes features like SEO optimization, optional breadcrumb item and more
Stars: ✭ 50 (+233.33%)
Mutual labels:  breadcrumbs
vue-crumbs
a simple and useful breadcrumb for Vue2.js
Stars: ✭ 16 (+6.67%)
Mutual labels:  breadcrumbs
Wp Structuring Markup
🔌 WordPress: Plug-in Markup (JSON-LD) structured in schema.org
Stars: ✭ 26 (+73.33%)
Mutual labels:  breadcrumbs
Loaf
Manages and displays breadcrumb trails in Rails app - lean & mean.
Stars: ✭ 360 (+2300%)
Mutual labels:  breadcrumbs
breadcrumble
A breadcrumbs plugin for Ruby on Rails.
Stars: ✭ 39 (+160%)
Mutual labels:  breadcrumbs

Grav Breadcrumbs Plugin

Breadcrumbs

Breadcrumbs is a Grav plugin that adds links to the previous pages (following the hierarchical structure). It is particularly useful if you are using Grav to run a blog.

Installation

Installing the Breadcrumbs plugin can be done in one of two ways. Our GPM (Grav Package Manager) installation method enables you to quickly and easily install the plugin with a simple terminal command, while the manual method enables you to do so via a zip file.

GPM Installation (Preferred)

The simplest way to install this plugin is via the Grav Package Manager (GPM) through your system's Terminal (also called the command line). From the root of your Grav install type:

bin/gpm install breadcrumbs

This will install the Breadcrumbs plugin into your /user/plugins directory within Grav. Its files can be found under /your/site/grav/user/plugins/breadcrumbs.

Manual Installation

To install this plugin, just download the zip version of this repository and unzip it under /your/site/grav/user/plugins. Then, rename the folder to breadcrumbs. You can find these files either on GitHub or via GetGrav.org.

You should now have all the plugin files under

/your/site/grav/user/plugins/breadcrumbs

NOTE: This plugin is a modular component for Grav which requires Grav, the Error and Problems plugins, and a theme to be installed in order to operate.

Usage

The breadcrumbs plugin doesn't require any configuration. The moment you install it, it is ready to use.

Something you might want to do is to override the look and feel of the breadcrumbs, and with Grav it is super easy.

Copy the template file breadcrumbs.html.twig into the templates folder of your custom theme, and that is it.

/your/site/grav/user/themes/custom-theme/templates/partials/breadcrumbs.html.twig

You can now edit the override and tweak it however you prefer.

Per-page Settings

The following options are available for use in a page's YAML frontmatter, placed within the breadcrumbs mapping:

Option Default Values Description
max_depth true true or false Determines whether breadcrumbs for pages beneath the current page will be generated.

Example Per-page Settings

---
title: Some page you wrote
breadcrumbs:
  may_descend: false # Breadcrumbs will not be generated for pages underneath this one.
---

Updating

As development for the Breadcrumbs plugin continues, new versions may become available that add additional features and functionality, improve compatibility with newer Grav releases, and generally provide a better user experience. Updating Breadcrumbs is easy, and can be done through Grav's GPM system, as well as manually.

GPM Update (Preferred)

The simplest way to update this plugin is via the Grav Package Manager (GPM). You can do this with this by navigating to the root directory of your Grav install using your system's Terminal (also called command line) and typing the following:

bin/gpm update breadcrumbs

This command will check your Grav install to see if your Breadcrumbs plugin is due for an update. If a newer release is found, you will be asked whether or not you wish to update. To continue, type y and hit enter. The plugin will automatically update and clear Grav's cache.

Manual Update

Manually updating Breadcrumbs is pretty simple. Here is what you will need to do to get this done:

  • Delete the your/site/user/plugins/breadcrumbs directory.
  • Download the new version of the Breadcrumbs plugin from either GitHub or GetGrav.org.
  • Unzip the zip file in your/site/user/plugins and rename the resulting folder to breadcrumbs.
  • Clear the Grav cache. The simplest way to do this is by going to the root Grav directory in terminal and typing bin/grav clear-cache.

Note: Any changes you have made to any of the files listed under this directory will also be removed and replaced by the new set. Any files located elsewhere (for example a YAML settings file placed in user/config/plugins) will remain intact.

Configuration

Simply copy the user/plugins/breadcrumbs/breadcrumbs.yaml into user/config/plugins/breadcrumbs.yaml and make your modifications.

enabled: true
show_all: true
built_in_css: true
include_home: true
include_current: true
icon_home: ''
icon_divider_classes: 'fa fa-angle-right'
link_trailing: false

Options are pretty self explanatory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].