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/meta-expiry-date.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/meta-expiry-date.html')
-rw-r--r-- | themes/default/layouts/partials/meta-expiry-date.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/meta-expiry-date.html b/themes/default/layouts/partials/meta-expiry-date.html index bf111f9..275e04e 100644 --- a/themes/default/layouts/partials/meta-expiry-date.html +++ b/themes/default/layouts/partials/meta-expiry-date.html @@ -5,7 +5,7 @@ <time datetime= "{{ .ExpiryDate | time.Format "2006-01-02T15:04:05Z" }}" title="Self destructs within {{ $duration }} days ({{ .ExpiryDate | time.Format "Monday, January 2 2006 at 15:04:05 MST" }})"> - {{ safeHTML (readFile "static/icons/feather/trash-2.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/trash-2.svg")) }} {{ .ExpiryDate | time.Format "Jan 2 2006" }} </time> </expiry-date> |