refactor: Use RelPermalink for internal links (#1231)

This commit is contained in:
Jimmy
2026-01-25 22:31:58 +01:00
committed by GitHub
parent c872a77edb
commit 633c8c6b9f
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
{{- $result := slice -}}
{{- range $filtered -}}
{{- $data := dict "title" .Title "date" .Date "permalink" .Permalink "content" (.Plain) -}}
{{- $data := dict "title" .Title "date" .Date "permalink" .RelPermalink "content" (.Plain) -}}
{{- $image := partialCached "helper/image" (dict "Context" . "Type" "articleList") .RelPermalink "articleList" -}}
{{- if $image.exists -}}