aboutsummaryrefslogtreecommitdiff
path: root/sphinx_ascii_theme/navigation.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2020-06-26 21:24:30 +0200
committerneodarz <neodarz@neodarz.net>2020-06-26 21:24:30 +0200
commit947190c41995f599353be1227d84a20e4b6ef48f (patch)
tree2a360daa19079dd01d3372a0c578a21c860964d5 /sphinx_ascii_theme/navigation.html
downloadwebsite_theme-947190c41995f599353be1227d84a20e4b6ef48f.tar.xz
website_theme-947190c41995f599353be1227d84a20e4b6ef48f.zip
Inital commit
Diffstat (limited to '')
-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>