Skip to content

Commit

Permalink
Use relative permalink to redirect to latest changelog (#1956)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes authored Sep 30, 2024
1 parent 938022b commit c8ad740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/internal/newsfragments/1956.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use relative permalink to redirect to latest changelog.
2 changes: 1 addition & 1 deletion layouts/shortcodes/changelog/changelogs.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
*/}}

{{ with index .Page.RegularPages.ByDate.Reverse 0 }}
<meta http-equiv="refresh" content="0; url={{ .Permalink }}" />
<meta http-equiv="refresh" content="0; url={{ .RelPermalink }}" />
{{ end }}

0 comments on commit c8ad740

Please sign in to comment.