diff options
Diffstat (limited to 'themes/default/layouts/partials/author-card.html')
-rw-r--r-- | themes/default/layouts/partials/author-card.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/partials/author-card.html b/themes/default/layouts/partials/author-card.html index 6f771b7..7a8395a 100644 --- a/themes/default/layouts/partials/author-card.html +++ b/themes/default/layouts/partials/author-card.html @@ -13,8 +13,8 @@ {{- $source := "" -}} {{- $sourceset := "" -}} -{{- $source = print "/" (partial "function-paths.html" "media") "/" .Data.user "/" .Data.user "-profile" (path.Ext .Data.picture.profile) -}} -{{- $sourceset = print "/" (partial "function-paths.html" "media") "/" .Data.user "/" .Data.user "-profile.webp" -}} +{{- $source = print "/" (partial "function-paths.html").media "/" .Data.user "/" .Data.user "-profile" (path.Ext .Data.picture.profile) -}} +{{- $sourceset = print "/" (partial "function-paths.html").media "/" .Data.user "/" .Data.user "-profile.webp" -}} {{- with $metadata := resources.Get $metadata -}} {{- $metadata = $metadata.Content | transform.Unmarshal -}} @@ -24,7 +24,7 @@ {{- if or (not (path.Ext .Data.picture.profile)) - (not (fileExists (print "public/" (partial "function-paths.html" "media") "/" .Data.user))) + (not (fileExists (print "public/" (partial "function-paths.html").media "/" .Data.user))) -}} {{- $source = "/data/media/404.png" -}} {{- $sourceset = "" -}} @@ -72,7 +72,7 @@ </micro-header> <p>{{ .Data.description | markdownify | plainify | htmlUnescape | truncate 60 "..." }}</p> <a title="Follow with RSS Reader" href="{{ "" | absURL }}/{{ .Data.user }}/rss.xml"> - {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/rss.svg")) }} + {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/rss.svg")) }} <span>Follow</span> </a> </micro-summary> |