summaryrefslogtreecommitdiffstats
path: root/theme/templates/langs.html
diff options
context:
space:
mode:
authorShaform <shaform@gmail.com>2014-06-17 22:08:46 +0800
committerShaform <shaform@gmail.com>2014-06-17 22:08:46 +0800
commit6bbefad24e6aa4a5b51b4b21bdf30b73f8cb4d41 (patch)
treed2efbbb62f9746b19b683c11a302c9afe385a2be /theme/templates/langs.html
parent1f4cf33dd08b439cadb5c649654ecd6d3f4b399d (diff)
parentd6eb8e4c6042262408c3c0b8d67bccecfa4bf882 (diff)
downloadgitbook-6bbefad24e6aa4a5b51b4b21bdf30b73f8cb4d41.zip
gitbook-6bbefad24e6aa4a5b51b4b21bdf30b73f8cb4d41.tar.gz
gitbook-6bbefad24e6aa4a5b51b4b21bdf30b73f8cb4d41.tar.bz2
Merge remote-tracking branch 'upstream/master' into ref_links
Diffstat (limited to 'theme/templates/langs.html')
-rwxr-xr-xtheme/templates/langs.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/theme/templates/langs.html b/theme/templates/langs.html
index 21bf64f..dd8c96b 100755
--- a/theme/templates/langs.html
+++ b/theme/templates/langs.html
@@ -2,6 +2,10 @@
{% block title %}{{ title }}{% endblock %}
+{% block style %}
+<link rel="stylesheet" href="{{ staticBase }}/style.css">
+{% endblock %}
+
{% block content %}
<div class="book-langs-index">
<div class="inner">
@@ -10,7 +14,7 @@
<ul class="languages">
{% for lang in langs %}
<li>
- <a href="{{ basePath}}/{{ lang.path }}">{{ lang.title }}</a>
+ <a href="{{ basePath}}/{{ lang.path|pathJoin("/index.html") }}">{{ lang.title }}</a>
</li>
{% endfor %}
</ul>