Use external link policy for a.html

This commit is contained in:
Will Faught
2023-09-24 19:11:51 -07:00
parent a93d52fd73
commit 4d2292df74
2 changed files with 6 additions and 3 deletions

View File

@@ -283,9 +283,9 @@
{{ end }}
{{ $resource = $resource | fingerprint }}
{{ $content = partial "paige/a.html" (dict "content" $content "href" $resource.RelPermalink) }}
{{ $content = partial "paige/a.html" (dict "content" $content "href" $resource.RelPermalink "page" $page) }}
{{ else if $link }}
{{ $content = partial "paige/a.html" (dict "content" $content "href" $link) }}
{{ $content = partial "paige/a.html" (dict "content" $content "href" $link "page" $page) }}
{{ end }}
<span class="paige-image">{{ $content }}</span>