summaryrefslogtreecommitdiffstats
path: root/theme/templates/website/langs.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/website/langs.html')
-rwxr-xr-xtheme/templates/website/langs.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/theme/templates/website/langs.html b/theme/templates/website/langs.html
new file mode 100755
index 0000000..7b47fc5
--- /dev/null
+++ b/theme/templates/website/langs.html
@@ -0,0 +1,25 @@
+{% extends "./layout.html" %}
+
+{% block title %}{{ title }}{% endblock %}
+
+{% block style %}
+<link rel="stylesheet" href="{{ staticBase }}/style.css">
+{% endblock %}
+
+{% block content %}
+<div class="book-langs-index">
+ <div class="inner">
+ <h3>Choose a language</h3>
+
+ <ul class="languages">
+ {% for lang in langs %}
+ <li>
+ <a href="{{ basePath}}/{{ lang.path|pathJoin("/index.html") }}">{{ lang.title }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
+</div>
+{% endblock %}
+
+{% block javascript %}{% endblock %} \ No newline at end of file