diff options
Diffstat (limited to 'templates/includes/book/summary.html')
-rw-r--r-- | templates/includes/book/summary.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/includes/book/summary.html b/templates/includes/book/summary.html index 65fd398..99c226c 100644 --- a/templates/includes/book/summary.html +++ b/templates/includes/book/summary.html @@ -1,20 +1,20 @@ <div class="book-summary"> <ul class="summary"> <li> - <a href="/book/{{ book.attributes.full_name }}/README.md">Introduction</a> + <a href="{{ basePath }}/README.html">Introduction</a> </li> <li> - <a href="https://github.com/{{ book.attributes.owner.login }}" target="blank">About the author</a> + <a href="https://github.com/{{ owner }}" target="blank">About the author</a> </li> <li class="divider"></li> {% for item in summary.chapters %} <li> - <a href="{{ item.chapter.path }}">{{ item.chapter.title }}</a> + <a href="{{ basePath }}/{{ item.chapter.path }}">{{ item.chapter.title }}</a> {% if item.articles.length > 0 %} <ul class="articles"> {% for article in item.articles %} <li> - <a href="{{ article.path }}">{{ article.title }}</a> + <a href="{{ basePath }}/{{ article.path }}">{{ article.title }}</a> </li> {% endfor %} </ul> |