aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/navigator-middle.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/navigator-middle.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/navigator-middle.html')
-rw-r--r--themes/default/layouts/partials/navigator-middle.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/layouts/partials/navigator-middle.html b/themes/default/layouts/partials/navigator-middle.html
index cca3466..418b237 100644
--- a/themes/default/layouts/partials/navigator-middle.html
+++ b/themes/default/layouts/partials/navigator-middle.html
@@ -8,9 +8,9 @@
href="{{ or $href "#" }}"
>
{{ with .Icon }}
- {{ safeHTML (readFile (print "static/icons/feather/" . ".svg")) }}
+ {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/" . ".svg")) }}
{{ else }}
- {{ safeHTML (readFile "static/icons/feather/arrow-up.svg") }}
+ {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/arrow-up.svg")) }}
{{ end }}
{{ with .IconLabel }}
<small>{{ . }}</small>
@@ -46,7 +46,7 @@
aria-label="search input"
/>
<button id="search-submit">
- {{ safeHTML (readFile "static/icons/feather/search.svg") }}
+ {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/search.svg")) }}
<small>Search</small>
</button>
<ul hidden id="search-results"></ul>