summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-03-31 12:15:45 -0700
committerSamy Pessé <samypesse@gmail.com>2014-03-31 12:15:45 -0700
commit6df59745b1e32535bc529f97d3c752afac50095d (patch)
treeb94085ea54cce7b674364657f7472baa9ad233b6
parent0b08663b70230d7b9d8cccb815464e9dc761ed48 (diff)
downloadgitbook-6df59745b1e32535bc529f97d3c752afac50095d.zip
gitbook-6df59745b1e32535bc529f97d3c752afac50095d.tar.gz
gitbook-6df59745b1e32535bc529f97d3c752afac50095d.tar.bz2
Fix link in summary (absolute to relative)
-rw-r--r--templates/includes/book/summary.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/includes/book/summary.html b/templates/includes/book/summary.html
index 8b2473e..65fd398 100644
--- a/templates/includes/book/summary.html
+++ b/templates/includes/book/summary.html
@@ -9,12 +9,12 @@
<li class="divider"></li>
{% for item in summary.chapters %}
<li>
- <a href="/book/{{ book.attributes.full_name }}/{{ item.chapter.path }}">{{ item.chapter.title }}</a>
+ <a href="{{ item.chapter.path }}">{{ item.chapter.title }}</a>
{% if item.articles.length > 0 %}
<ul class="articles">
{% for article in item.articles %}
<li>
- <a href="/book/{{ book.attributes.full_name }}/{{ article.path }}">{{ article.title }}</a>
+ <a href="{{ article.path }}">{{ article.title }}</a>
</li>
{% endfor %}
</ul>