Skip to content

Commit

Permalink
Use RelPermalink instead of deprecated URL
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphr committed Oct 15, 2023
1 parent 6e364d8 commit 59e75bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/news/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ul class="uk-pagination">
{{ if .NextInSection }}
<li>
<a href="{{ .NextInSection.URL }}" title="{{ .NextInSection.LinkTitle }}"><i class="uk-icon-angle-double-left"></i></a>
<a href="{{ .NextInSection.RelPermalink }}" title="{{ .NextInSection.LinkTitle }}"><i class="uk-icon-angle-double-left"></i></a>
</li>
{{ else }}
<li class="uk-disabled">
Expand All @@ -17,7 +17,7 @@
{{end}}
{{ if .PrevInSection }}
<li>
<a href="{{ .PrevInSection.URL }}" title="{{ .PrevInSection.LinkTitle }}"><i class="uk-icon-angle-double-right"></i></a>
<a href="{{ .PrevInSection.RelPermalink }}" title="{{ .PrevInSection.LinkTitle }}"><i class="uk-icon-angle-double-right"></i></a>
</li>
{{ else }}
<li class="uk-disabled">
Expand Down

0 comments on commit 59e75bc

Please sign in to comment.