
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
hexo-breadcrumb
Advanced tools
A Hexo plugin to generate breadcrumb navigation for post and page layouts.
ni hexo-breadcrumb -D
npm i hexo-breadcrumb -D
yarn add hexo-breadcrumb -D
pnpm add hexo-breadcrumb -D
In _config.yml
file, specify the breadcrumb settings as following:
breadcrumb:
delimiter:
# /, >, etc.
content: "/"
# Applied on ::after pseudo element.
style: "font-weight: bold;"
aria:
nav: "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
Add the following snippets to a layout file in order to display the breadcrumb.
<%- page.breadcrumb %>
This project is licensed under the MIT License.
FAQs
Did you know?
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.