aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index/announcements.html
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2020-08-11 13:17:05 +0300
committerMantas Vilčinskas <hi@mnts.lt>2020-10-27 21:27:08 +0200
commit288fd4215a072f952f51e8dd6973484fb5ed1273 (patch)
treeaaf970e1c82ff51bb8f90f35763bc7ef5d7354e2 /layouts/partials/index/announcements.html
parent30dbc121b522bb9626f730b2e351c46e6750f02c (diff)
Fix #126 - support for non-root dir
Diffstat (limited to 'layouts/partials/index/announcements.html')
-rw-r--r--layouts/partials/index/announcements.html4
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>