-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Worked out that for authors and tags relative paths need to be joined…
… as in author-casper instead of using / delimiters.
1 parent
95ec7ff
commit a6d2192
Showing
7 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<nav class="pagination" role="pagination"> | ||
{% if paginator.previous_page %} | ||
{% if paginator.previous_page == 1 %} | ||
<a class="newer-posts" href="{{ site.baseurl }}author/{{ site.username }}" title="Previous Page">« Newer Posts</a> | ||
<a class="newer-posts" href="{{ site.baseurl }}author-{{ site.username }}" title="Previous Page">« Newer Posts</a> | ||
{% else %} | ||
<a class="newer-posts" href="{{ site.baseurl }}author/{{ site.username }}/page{{ paginator.previous_page }}/" title="Previous Page">« Newer Posts</a> | ||
<a class="newer-posts" href="{{ site.baseurl }}author-{{ site.username }}/author-page{{ paginator.previous_page }}/" title="Previous Page">« Newer Posts</a> | ||
{% endif %} | ||
{% endif %} | ||
<span class="page-number"> Page {{ paginator.page }} of {{ paginator.total_pages }} </span> | ||
{% if paginator.next_page %} | ||
<a class="older-posts" href="{{ site.baseurl }}author/{{ site.username }}/page{{ paginator.next_page }}/" title="Next Page">Older Posts »</a> | ||
<a class="older-posts" href="{{ site.baseurl }}author-{{ site.username }}/author-page{{ paginator.next_page }}/" title="Next Page">Older Posts »</a> | ||
{% endif %} | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<nav class="pagination" role="pagination"> | ||
{% if paginator.previous_page %} | ||
{% if paginator.previous_page == 1 %} | ||
<a class="newer-posts" href="{{ site.baseurl }}tag/{{ page.tag }}" title="Previous Page">« Newer Posts</a> | ||
<a class="newer-posts" href="{{ site.baseurl }}tag-{{ page.tag }}" title="Previous Page">« Newer Posts</a> | ||
{% else %} | ||
<a class="newer-posts" href="{{ site.baseurl }}tag/{{ page.tag }}/page{{ paginator.previous_page }}/" title="Previous Page">« Newer Posts</a> | ||
<a class="newer-posts" href="{{ site.baseurl }}tag-{{ page.tag }}/tag-page{{ paginator.previous_page }}/" title="Previous Page">« Newer Posts</a> | ||
{% endif %} | ||
{% endif %} | ||
<span class="page-number"> Page {{ paginator.page }} of {{ paginator.total_pages }} </span> | ||
{% if paginator.next_page %} | ||
<a class="older-posts" href="{{ site.baseurl }}tag/{{ page.tag }}/page{{ paginator.next_page }}/" title="Next Page">Older Posts »</a> | ||
<a class="older-posts" href="{{ site.baseurl }}tag-{{ page.tag }}/tag-page{{ paginator.next_page }}/" title="Next Page">Older Posts »</a> | ||
{% endif %} | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters