older version of ivory?
This commit is contained in:
parent
bb0094a7b7
commit
e7b36a6f16
15 changed files with 912 additions and 0 deletions
12
mkdocs_ivory/breadcrumbs.html
Normal file
12
mkdocs_ivory/breadcrumbs.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% if page %}
|
||||
<ul>
|
||||
{% for doc in page.ancestors|reverse -%}
|
||||
{%- if doc.link -%}
|
||||
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a>
|
||||
{%- else -%}
|
||||
<li>{{ doc.title }}
|
||||
{%- endif -%}
|
||||
{%- if not loop.last %} » {% endif %}</li>
|
||||
{%- endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue