New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

akashacms-breadcrumbs

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akashacms-breadcrumbs

A plugin for AkashaCMS that generates breadcrumb trails

  • 0.7.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
increased by325%
Maintainers
1
Weekly downloads
 
Created
Source

This is a plugin for AkashaCMS which generates breadcrumb trails. These are the trail of links commonly put at the top of the content letting the user navigate to parent pages.

To use it first install the module:

$ npm install akashacms-breadcrumbs

Then add this to the config.js for your site:

require('akashacms-breadcrumbs').config(module.exports);

It automatically adds itself to the website configuration by

  • Adding a directory to the partials array.
  • Adding a function named breadcrumbsSync to those available in templates.

Then in a template you can use it like so:

<div class="row">
<section id="breadcrumb" class="col_12">
  <%- breadcrumbsSync({
    partial: "breadcrumbs.html.ejs",
    fileName: fnameRelative
  }) %>
</section>
</div>

The module provides a partial named breadcrumbs.html.ejs.

FAQs

Package last updated on 22 Sep 2019

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