aboutsummaryrefslogtreecommitdiff
path: root/gocryptfs-readthedocs/breadcrumbs.html
diff options
context:
space:
mode:
authorAndy Taylor2018-01-29 17:32:28 +1100
committerAndy Taylor2018-01-29 17:32:28 +1100
commitc2eeba892f634fb1ba7feec993c0df3dd36642af (patch)
tree07c15cde96207c24e033e45e56c72a128c4b9314 /gocryptfs-readthedocs/breadcrumbs.html
parent246c2639be0fb9fb027b1878479d86cd90b7731a (diff)
Adding copy of readthedocs theme from mkdocs 0.17.2 source
Diffstat (limited to 'gocryptfs-readthedocs/breadcrumbs.html')
-rw-r--r--gocryptfs-readthedocs/breadcrumbs.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/gocryptfs-readthedocs/breadcrumbs.html b/gocryptfs-readthedocs/breadcrumbs.html
new file mode 100644
index 0000000..b7311ff
--- /dev/null
+++ b/gocryptfs-readthedocs/breadcrumbs.html
@@ -0,0 +1,28 @@
+<div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="{{ nav.homepage.url }}">Docs</a> &raquo;</li>
+ {% if page %}
+ {% for doc in page.ancestors %}
+ {% if doc.link %}
+ <li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
+ {% else %}
+ <li>{{ doc.title }} &raquo;</li>
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+ {% if page %}<li>{{ page.title }}</li>{% endif %}
+ <li class="wy-breadcrumbs-aside">
+ {%- block repo %}
+ {% if page and page.edit_url %}
+ <a href="{{ page.edit_url }}"
+ {%- if config.repo_name|lower == 'github' %}
+ class="icon icon-github"
+ {%- elif config.repo_name|lower == 'bitbucket' %}
+ class="icon icon-bitbucket"
+ {% endif %}> Edit on {{ config.repo_name }}</a>
+ {% endif %}
+ {%- endblock %}
+ </li>
+ </ul>
+ <hr/>
+</div>