Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hexo-breadcrumb

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-breadcrumb

Generate breadcrumb for a Hexo page

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
decreased by-22.73%
Maintainers
1
Weekly downloads
 
Created
Source

hexo-breadcrumb

MIT License NPM Version

Generate breadcrumb for a Hexo post/page.

Install

NPM

$ npm install hexo-breadcrumb --save-dev

Yarn

$ yarn add hexo-breadcrumb --dev

Usage

Config
breadcrumb:
  homepage:
    # Override the default homepage title in breadcrumb.
    title: Home
  matrix:
    - layout: post
      format:
        - home
        - category
        - title
    - layout: page
      format:
        - home
        - title

Links are ordered based on the determined matrix array per layout in _config.yml file.

After configuration, Add the following snippet to your post/page layout file to render breadcrumb in layouts.

post:

<%- post.breadcrumb.html %>

page:

<%- page.breadcrumb.html %>

License

The project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 04 Jun 2023

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc