summaryrefslogtreecommitdiffstats
path: root/theme/templates/langs.html
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-06 13:44:14 -0700
committerSamy Pessé <samypesse@gmail.com>2014-04-06 13:44:14 -0700
commit014b2f9c6902235216fee390078ece0049344c0b (patch)
tree4b7a40abe74cce7b961f8a3bc63da9d4f044b315 /theme/templates/langs.html
parentfb26b634ce2f332bcc3a8764009bdc65a2245f35 (diff)
parent65cb23feabb7ae311f18c5f50978686d202dafec (diff)
downloadgitbook-014b2f9c6902235216fee390078ece0049344c0b.zip
gitbook-014b2f9c6902235216fee390078ece0049344c0b.tar.gz
gitbook-014b2f9c6902235216fee390078ece0049344c0b.tar.bz2
Merge pull request #35 from GitbookIO/feature/multilangs
Fix #34: Feature/multilangs
Diffstat (limited to 'theme/templates/langs.html')
-rw-r--r--theme/templates/langs.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/theme/templates/langs.html b/theme/templates/langs.html
new file mode 100644
index 0000000..c3a628f
--- /dev/null
+++ b/theme/templates/langs.html
@@ -0,0 +1,21 @@
+{% extends "layout.html" %}
+
+{% block title %}{{ title }}{% endblock %}
+
+{% block content %}
+<div class="book-langs-index">
+ <div class="inner">
+ <h1>{{ title }}</h1>
+
+ <ul class="languages">
+ {% for lang in langs %}
+ <li>
+ <a href="{{ basePath}}/{{ lang.path }}">{{ lang.title }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
+</div>
+{% endblock %}
+
+{% block javascript %}{% endblock %} \ No newline at end of file