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.1.0
  • 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

A Hexo plugin to generate breadcrumbs for your posts and pages.

Installation

Using NPM

Install hexo-breadcrumb via NPM:

npm install hexo-breadcrumb --save-dev

Using Yarn

Alternatively, use Yarn to add the package:

yarn add hexo-breadcrumb --dev

Usage

Configuration

In your _config.yml file, specify the breadcrumb settings:

breadcrumb:
  homepage:
    # Customize the title for the homepage in the breadcrumb.
    title: Home
  templates:
    - layout: post
      tokens:
        - home
        - category
        - title
    - layout: page
      tokens:
        - home
        - title

Integration

Add the following snippets to a layout file in order to display the breadcrumb.

<%- page.breadcrumb %>

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 22 Dec 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