diff options
author | luxagraf <sng@luxagraf.net> | 2020-04-06 16:59:23 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-04-06 16:59:23 -0400 |
commit | 0fdb50984668da4f360a0408ba50cb43136d3de9 (patch) | |
tree | 6cb19a9661d0272a4c88aa9928891dbb242b5aa8 /design/templates/lib | |
parent | d5b1ad3850c09154b783712762b6129ec0aa3f20 (diff) |
changed post handling and fixed some bugs in templates
Diffstat (limited to 'design/templates/lib')
-rw-r--r-- | design/templates/lib/breadcrumbs_detail.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/design/templates/lib/breadcrumbs_detail.html b/design/templates/lib/breadcrumbs_detail.html new file mode 100644 index 0000000..170c53a --- /dev/null +++ b/design/templates/lib/breadcrumbs_detail.html @@ -0,0 +1,14 @@ +<ol class="bl" id="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList"> + <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> + <a itemprop="item" href="/"><span itemprop="name">Home</span></a> → + <meta itemprop="position" content="1" /> + </li> + {% for crumb in breadcrumbs %}<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">{% if forloop.last %} + <span itemprop="item"> + <span itemprop="name" class="faint">{{crumb}}</span> + </span> + <meta itemprop="position" content="{{ forloop.counter|add:"+1"}}" />{%else%} + <a href="{{crumb_url}}" itemprop="item"><span itemprop="name">{{crumb}}</span></a> → + <meta itemprop="position" content="{{ forloop.counter|add:"+1" }}" />{% endif %} + </li>{%endfor%} + </ol> |