diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-06 13:44:14 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-06 13:44:14 -0700 |
commit | 014b2f9c6902235216fee390078ece0049344c0b (patch) | |
tree | 4b7a40abe74cce7b961f8a3bc63da9d4f044b315 /theme/templates/langs.html | |
parent | fb26b634ce2f332bcc3a8764009bdc65a2245f35 (diff) | |
parent | 65cb23feabb7ae311f18c5f50978686d202dafec (diff) | |
download | gitbook-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.html | 21 |
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 |