aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/profile.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-22 22:32:59 -0400
committertdro <tdro@noreply.example.com>2022-06-22 22:32:59 -0400
commite397c9181f0d4442d229ca0c7896608965c4afb9 (patch)
tree613f195e1142666cd78184679103aeac195afeed /themes/default/layouts/partials/profile.html
parent2a09c4518183b88524f1b85da5c24cc967e44df0 (diff)
downloadcanory-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.html8
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>