akashacms-breadcrumbs

A plugin for AkashaCMS that generates breadcrumb trails

Use @akashacms/plugins-breadcrumbs instead
Last updated 8 months ago by reikiman .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install akashacms-breadcrumbs 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.7.1                                ...           latest (8 months ago)

30 Versions

  • 0.7.1 [deprecated]           ...           8 months ago
  • 0.7.0 [deprecated]           ...           10 months ago
  • 0.6.4 [deprecated]           ...           a year ago
  • 0.6.3 [deprecated]           ...           3 years ago
  • 0.6.2 [deprecated]           ...           3 years ago
  • 0.6.1 [deprecated]           ...           3 years ago
  • 0.6.0 [deprecated]           ...           3 years ago
  • 0.4.1 [deprecated]           ...           5 years ago
  • 0.4.0 [deprecated]           ...           5 years ago
  • 0.1.23 [deprecated]           ...           5 years ago
  • 0.1.21 [deprecated]           ...           5 years ago
  • 0.1.20 [deprecated]           ...           5 years ago
  • 0.1.19 [deprecated]           ...           5 years ago
  • 0.1.18 [deprecated]           ...           6 years ago
  • 0.1.17 [deprecated]           ...           6 years ago
  • 0.1.16 [deprecated]           ...           6 years ago
  • 0.1.15 [deprecated]           ...           6 years ago
  • 0.1.14 [deprecated]           ...           6 years ago
  • 0.1.13 [deprecated]           ...           6 years ago
  • 0.1.12 [deprecated]           ...           7 years ago
  • 0.1.11 [deprecated]           ...           7 years ago
  • 0.1.10 [deprecated]           ...           7 years ago
  • 0.1.9 [deprecated]           ...           7 years ago
  • 0.1.8 [deprecated]           ...           7 years ago
  • 0.1.7 [deprecated]           ...           7 years ago
  • 0.1.6 [deprecated]           ...           7 years ago
  • 0.1.5 [deprecated]           ...           7 years ago
  • 0.1.4 [deprecated]           ...           7 years ago
  • 0.1.2 [deprecated]           ...           7 years ago
  • 0.1.1 [deprecated]           ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 2
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (3)

Copyright 2014 - 2016 © taobao.org |