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/_default/home.rss-style.xsl | |
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/_default/home.rss-style.xsl')
-rw-r--r-- | themes/default/layouts/_default/home.rss-style.xsl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/themes/default/layouts/_default/home.rss-style.xsl b/themes/default/layouts/_default/home.rss-style.xsl index 7d3fc96..b537d38 100644 --- a/themes/default/layouts/_default/home.rss-style.xsl +++ b/themes/default/layouts/_default/home.rss-style.xsl @@ -23,7 +23,7 @@ <nav> <icon-button> <a id="back" href="/"> - {{ safeHTML (readFile "static/icons/feather/arrow-left.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/arrow-left.svg")) }} <small>Back</small> </a> </icon-button> @@ -36,7 +36,7 @@ <icon-navigator hidden=""> <icon-button> <a id="nav-middle-home" href="/"> - {{ safeHTML (readFile "static/icons/feather/home.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/home.svg")) }} <small>Home</small> </a> </icon-button> @@ -45,7 +45,7 @@ <icon-navigator hidden=""> <icon-button> <a id="nav-middle-tag" href="/tags/"> - {{ safeHTML (readFile "static/icons/feather/tag.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/tag.svg")) }} <small>Tags</small> </a> </icon-button> @@ -54,7 +54,7 @@ <icon-navigator hidden=""> <icon-button> <a id="nav-middle-clock" href="/archives/messages/"> - {{ safeHTML (readFile "static/icons/tabler/clock.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/tabler/clock.svg")) }} <small>History</small> </a> </icon-button> @@ -63,7 +63,7 @@ <icon-navigator hidden=""> <icon-button> <a id="nav-middle-book-2" href="/archives/tags/"> - {{ safeHTML (readFile "static/icons/tabler/book-2.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/tabler/book-2.svg")) }} <small>Records</small> </a> </icon-button> @@ -72,7 +72,7 @@ <icon-navigator hidden=""> <icon-button> <a id="nav-middle-users" href="/authors/"> - {{ safeHTML (readFile "static/icons/feather/users.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/users.svg")) }} <small>Authors</small> </a> </icon-button> @@ -81,7 +81,7 @@ <icon-navigator hidden=""> <icon-button> <a id="nav-middle-rss" href="/rss.xml"> - {{ safeHTML (readFile "static/icons/feather/rss.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/rss.svg")) }} <small>RSS</small> </a> </icon-button> @@ -90,7 +90,7 @@ <icon-navigator hidden=""> <icon-button> <a id="nav-middle-circle" href="/index.json"> - {{ safeHTML (readFile "static/icons/feather/circle.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/circle.svg")) }} <small>JSON</small> </a> </icon-button> @@ -99,7 +99,7 @@ <icon-navigator hidden=""> <icon-button> <a id="nav-middle-git-commit" href="/sources/"> - {{ safeHTML (readFile "static/icons/feather/git-commit.svg") }} + {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/git-commit.svg")) }} <small>Sources</small> </a> </icon-button> |