diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-04-14 20:45:11 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-04-14 20:45:11 +0300 |
commit | ad9cf5ad3816b7cc47b6e86bb65d54f773673591 (patch) | |
tree | aa58280093c5bd3254c5430df9cfe704e533871e /layouts/_default | |
parent | 39044334e6e313473e60a6618669ad1823398129 (diff) |
Remove deprecated .Page.URL
Replaced with .RelPermalink where applicable. Checking if a page is the
home page can be done using .IsHome instead.
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b056b0e..dba8344 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,10 +14,10 @@ <div class="pagination"> {{- if .PrevPage }} - <a href="{{ .PrevPage.URL }}" class="left arrow">←</a> + <a href="{{ .PrevPage.RelPermalink }}" class="left arrow">←</a> {{- end }} {{- if .NextPage }} - <a href="{{ .NextPage.URL }}" class="right arrow">→</a> + <a href="{{ .NextPage.RelPermalink }}" class="right arrow">→</a> {{- end }} <a href="#" class="top">Top</a> |