refactor: use relative link for hyperlinks

This commit is contained in:
Jimmy Cai
2020-10-31 23:24:58 +01:00
parent d6b0f10241
commit b5645f0180
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<article class="{{ if $image.exists }}has-image{{ end }}">
{{ if $image.exists }}
<div class="article-image">
<a href="{{ .Permalink }}">
<a href="{{ .RelPermalink }}">
{{ if $image.resource }}
{{- $thumbnail := $image.resource.Fill "800x250" -}}
{{- $thumbnailRetina := $image.resource.Fill "1600x500" -}}