Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add template for HTML documentation to go back to main page
Signed-off-by: kthoden <kthoden@mpiwg-berlin.mpg.de>
  • Loading branch information
kthoden committed Sep 8, 2020
1 parent 3ab3b95 commit 644acbf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/_templates/layout.html
@@ -0,0 +1,11 @@
{% extends '!layout.html' %}

{%- block header %}
{%- if theme_showheader|tobool %}
<header id="pageheader"><h1><a href="{{ pathto(master_doc) }} ">
{{ docstitle }}
</a></h1>
<h3><a href="../">Main Documentation Page</a></h3>
</header>
{%- endif %}
{%- endblock %}

0 comments on commit 644acbf

Please sign in to comment.