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/navigator-middle.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/navigator-middle.html')
-rw-r--r-- | themes/default/layouts/partials/navigator-middle.html | 6 |
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> |