Skip to content

Commit 7cb51a2

Browse files
committed
wip on navigation
1 parent ab01a87 commit 7cb51a2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

templates/article.html

+10
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@
1313

1414
<meta name="twitter:site" content="@lnp_bp">
1515
{% endblock social_media %}
16+
17+
{% block breadcrumbs %}
18+
<ol>
19+
{% set path = "" %}
20+
{% for item in page.components %}
21+
{% set path = path ~ "/" ~ item %}
22+
<li><a href='{{ path }}'>{{ item }}</a></li>
23+
{% endfor %}
24+
</ol>
25+
{% endblock breadcrumbs %}

0 commit comments

Comments
 (0)