Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

hexo-breadcrumb

An useful tool for generate breadcrumb navigation with microdata markup for hexo posts

Install

$ npm install hexo-breadcrumb --save-dev

Usage

Config

Property Type Value
display boolean hidden breadcrumb html list or not by css property
homepage record Overwrite homepage link context

First add configuration in _config.yml from your hexo project.

breadcrumb:
  display: true

Second, print out the breadcrumb in post layout

<%- post.breadcrumb.html %>

Tips

  • To overwrite homepage link do same as below:
    breadcrumb:
      display: true
      homepage:
        title: Home
        url: http://example.com # should be absolute address
  • To hide breadcrumb html list in css way just set display property to false

License

MIT

About

An useful tool for generate breadcrumb navigation with microdata markup

Resources

License

Packages

No packages published
You can’t perform that action at this time.