aboutsummaryrefslogtreecommitdiff
path: root/sphinx_ascii_theme/navigation.html
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx_ascii_theme/navigation.html')
-rw-r--r--sphinx_ascii_theme/navigation.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/sphinx_ascii_theme/navigation.html b/sphinx_ascii_theme/navigation.html
new file mode 100644
index 0000000..efef6dc
--- /dev/null
+++ b/sphinx_ascii_theme/navigation.html
@@ -0,0 +1,18 @@
+<div class="navigation">
+ <div class="lang">
+ <a href="/en/{{pagename}}{{file_suffix}}">EN</a>
+ <a href="/fr/{{pagename}}{{file_suffix}}">FR</a>
+ </div>
+ <div class="nav">
+ {% for a in get_nav_object(collapse=true, maxdepth=1, includehidden=true) %}
+ {% if a.title == "Blog" %}
+ <hr/>
+ {% endif %}
+ <a href="{{a.url}}">
+ <span class="left"></span>
+ <span class="center">{{a.title}}</span>
+ <span class="right"></span>
+ </a>
+ {% endfor %}
+ </div>
+</div>