diff options
author | Alan Pearce | 2018-06-05 22:26:03 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-05 22:26:03 +0200 |
commit | 2bc23a28620d3262516634cfcf5b0dbc575f6449 (patch) | |
tree | 33d7fad4954bedf431d2a2c86056fe3188769b7a /layouts/_default/list.html | |
parent | 3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73 (diff) | |
download | hyde-2bc23a28620d3262516634cfcf5b0dbc575f6449.tar.lz hyde-2bc23a28620d3262516634cfcf5b0dbc575f6449.tar.zst hyde-2bc23a28620d3262516634cfcf5b0dbc575f6449.zip |
Make list item permalink relative
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f412982..6aa2a7d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,7 +5,7 @@ <ul class="posts"> {{ range .Data.Pages }} <li> - <a class="post-title u-url" href="{{ .Permalink | replaceRE "/$" "" }}">{{ .Title }}</a> + <a class="post-title u-url" href="{{ .RelPermalink | replaceRE "/$" "" }}">{{ .Title }}</a> <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> </li> {{ end }} |