diff options
author | luxagraf <sng@luxagraf.net> | 2020-01-27 20:37:10 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-01-27 20:37:10 -0500 |
commit | 6e8b62d8c38f6ca366f240ea45ad738ebfd62943 (patch) | |
tree | b8c695cdd5c7f1f7729fa6750ed49c1eb2eae3e8 /design/templates/details/note.html | |
parent | 09abece4982e8dceabe1dd8d678639205a4a6208 (diff) |
abstracted breadcrumbs into seperate template
Diffstat (limited to 'design/templates/details/note.html')
-rw-r--r-- | design/templates/details/note.html | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/design/templates/details/note.html b/design/templates/details/note.html index 583d50b..4b52537 100644 --- a/design/templates/details/note.html +++ b/design/templates/details/note.html @@ -13,7 +13,27 @@ <meta name="geo.region" content="{{object.country.iso2}}{%if object.state.code != '' %}-{{object.state.code}}{%endif%}"> {%endblock%} {% block bodyid %}class="notes--permalin detail" id="archive-{% if month %}{{month|month_number_to_name}}{%endif%}{{year}}"{%endblock%} - +{% block breadcrumbs %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList"> + <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> + <a href="/" title="luxagraf homepage" itemprop="item"> + <span itemprop="title">Home</span> + </a> → + <meta itemprop="position" content="1" /> + </li> + <li itemscope itemtype="http://schema.org/ListItem"> + <a href="/field-notes/" itemprop="item"> + <span itemprop="title">Field Notes</span> + </a> → + <meta itemprop="position" content="2" /> + </li> + <li itemscope itemtype="http://schema.org/ListItem"> + <a href="/field-notes/{{object.pub_date|date:"Y"}}/"> + <span itemprop="title">{{object.pub_date|date:"Y"}}</span> + </a> → + <meta itemprop="position" content="3" /> + </li> + <li itemprop="title">Walks</li> + </ul>{% endblock %} {% block primary %}<ul class="bl crumbs" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> → </li> |