diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2018-12-17 20:43:01 +0100 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2018-12-17 21:01:54 +0100 |
| commit | c9a81ed2f27bd2658ed56fa2e556ab39c03141d3 (patch) | |
| tree | 0ab00230f13cbd9217813dd9ca9e5a8d483cbad5 /_layouts/git-wiki-blog.html | |
| parent | a7816c160e06b2ee7684dcb66e1480cfcde0e90a (diff) | |
| download | wiki-2.1.0.tar.gz wiki-2.1.0.tar.bz2 wiki-2.1.0.zip | |
Fixed links2.1.0
Diffstat (limited to '_layouts/git-wiki-blog.html')
| -rw-r--r-- | _layouts/git-wiki-blog.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_layouts/git-wiki-blog.html b/_layouts/git-wiki-blog.html index 1241770..135c185 100644 --- a/_layouts/git-wiki-blog.html +++ b/_layouts/git-wiki-blog.html @@ -26,21 +26,21 @@ layout: git-wiki-default <!-- This loops through the paginated posts --> {% for post in paginator.posts %} - <h1><a href="{{ post.url }}">{{ post.id }}</a></h1> + <h1><a href="{{ post.url | relative_url }}">{{ post.id }}</a></h1> <p class="author"> <span class="date">{{ post.date | date: "%-d %B %Y"}}</span> </p> <div class="content"> {{ post.excerpt }} - <a href="{{ post.url }}">...Read all</a> + <a href="{{ post.url | relative_url }}">...Read all</a> </div> {% endfor %} <!-- Pagination links --> <div class="pagination"> {% if paginator.previous_page %} - <a href="{{ paginator.previous_page_path }}" class="previous"> + <a href="{{ paginator.previous_page_path | relative_url }}" class="previous"> Previous </a> {% else %} @@ -50,7 +50,7 @@ layout: git-wiki-default Page: {{ paginator.page }} of {{ paginator.total_pages }} </span> {% if paginator.next_page %} - <a href="{{ paginator.next_page_path }}" class="next">Next</a> + <a href="{{ paginator.next_page_path | relative_url }}" class="next">Next</a> {% else %} <span class="next ">Next</span> {% endif %} |
