diff options
author | Mantas Vilčinskas <hi@mnts.lt> | 2020-08-11 13:17:05 +0300 |
---|---|---|
committer | Mantas Vilčinskas <hi@mnts.lt> | 2020-10-27 21:27:08 +0200 |
commit | 288fd4215a072f952f51e8dd6973484fb5ed1273 (patch) | |
tree | aaf970e1c82ff51bb8f90f35763bc7ef5d7354e2 /layouts/partials/index/announcements.html | |
parent | 30dbc121b522bb9626f730b2e351c46e6750f02c (diff) |
Fix #126 - support for non-root dir
Diffstat (limited to 'layouts/partials/index/announcements.html')
-rw-r--r-- | layouts/partials/index/announcements.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/index/announcements.html b/layouts/partials/index/announcements.html index b629655..060c049 100644 --- a/layouts/partials/index/announcements.html +++ b/layouts/partials/index/announcements.html @@ -6,12 +6,12 @@ {{ range $active }} <div class="padding"> <p> - <a href="{{ .Permalink }}"><strong class="bold">{{ .Title }} →</strong></a> + <a href="{{ .RelPermalink }}"><strong class="bold">{{ .Title }} →</strong></a> </p> <p><small> {{ range .Params.Affected }} - <a href="/affected/{{ . | urlize }}/" class="tag no-underline">{{ . }}</a> + <a href="affected/{{ . | urlize }}/" class="tag no-underline">{{ . }}</a> {{ end }} </small></p> |