diff options
author | tdro <tdro@noreply.example.com> | 2022-06-22 22:32:59 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-06-22 22:32:59 -0400 |
commit | e397c9181f0d4442d229ca0c7896608965c4afb9 (patch) | |
tree | 613f195e1142666cd78184679103aeac195afeed /themes/default/layouts/partials/profile.html | |
parent | 2a09c4518183b88524f1b85da5c24cc967e44df0 (diff) | |
download | canory-e397c9181f0d4442d229ca0c7896608965c4afb9.tar.gz canory-e397c9181f0d4442d229ca0c7896608965c4afb9.tar.bz2 canory-e397c9181f0d4442d229ca0c7896608965c4afb9.zip |
themes/default/layouts/partials/function: Add static path return
I'm stuck. Setup up runway for name spacing.
Diffstat (limited to 'themes/default/layouts/partials/profile.html')
-rw-r--r-- | themes/default/layouts/partials/profile.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/partials/profile.html b/themes/default/layouts/partials/profile.html index 161f73d..1f01b23 100644 --- a/themes/default/layouts/partials/profile.html +++ b/themes/default/layouts/partials/profile.html @@ -28,21 +28,21 @@ <footer> <p> - {{ safeHTML (readFile "static/icons/feather/map-pin.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/map-pin.svg")) }} <span>{{- $author.place | markdownify -}}</span> </p> <p> - {{ safeHTML (readFile "static/icons/feather/globe.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/globe.svg")) }} <a href="{{ $author.domain.url }}"> {{- $author.domain.host | markdownify -}} </a> </p> <p> - {{ safeHTML (readFile "static/icons/feather/clock.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/clock.svg")) }} <span>{{- $author.epoch | markdownify -}}</span> </p> <p> - {{ safeHTML (readFile "static/icons/feather/user.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/user.svg")) }} <span><b>{{ with $author.webring.rss }}{{ len . }}{{ else }} 0 {{ end }}</b> Following</span> </p> </footer> |