More switches to RelPermalink

This commit is contained in:
Brandon Rozek 2025-12-06 13:41:09 -05:00
parent fb67108120
commit e253bf878d
No known key found for this signature in database
GPG key ID: DFB0E78F805F4567
10 changed files with 13 additions and 13 deletions

View file

@ -29,14 +29,14 @@
<p class="bloglist-date">{{ .Key }}</p>
{{ range .Pages }}
<div class="bloglist-item">
<p><a href="{{ .Permalink }}">{{ .Title }}</a></p>
<p><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>
<p class="bloglist-item-tag">
{{ $tag_count := 0 }}
{{ range .Params.tags }}
{{ if lt $tag_count 2 }}
{{ $name := . }}
{{ with $.Site.GetPage (printf "/tags/%s" (. | urlize)) }}
<span><a href="{{ .Permalink }}">#{{ $name }}</a> </span>
<span><a href="{{ .RelPermalink }}">#{{ $name }}</a> </span>
{{ end }}
{{ $tag_count = add $tag_count 1 }}
{{ end }}