Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.
/ pico-breadcrumbs Public archive

Adds breadcrumbs for navigation and search engine detection

License

Notifications You must be signed in to change notification settings

nebman/pico-breadcrumbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

pico-breadcrumbs

Adds breadcrumbs for navigation and search engine detection

Usage

Add the following code to your template file index.html, it is optimized for Google indexing

{% if breadcrumbs %}
  <div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    <a href="/" itemprop="url"><span itemprop="title">{{ site_title }}</span></a>
    {% for crumb in breadcrumbs %}
      <div itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
        &nbsp;&gt;&nbsp; 
        <a href="{{ crumb.url }}" itemprop="url"><span itemprop="title">{{ crumb.name }}</span></a>
      </div>
    {% endfor %}
  </div>
{% endif %}

About

Adds breadcrumbs for navigation and search engine detection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages