diff options
author | tdro <tdro@noreply.example.com> | 2023-03-14 15:11:23 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-03-14 15:11:23 -0400 |
commit | ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822 (patch) | |
tree | 8a87daba0eb4a355f732ec7e5f3bf3e9bfe3ad7b /themes/default/layouts/_default/home.xslt.sitemap.xsl | |
parent | bde0c042a2d050a8549707f62dec57844c56a0c5 (diff) | |
download | canory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.tar.gz canory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.tar.bz2 canory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.zip |
themes/default/layouts/partials/function-paths: Return dict here
Diffstat (limited to 'themes/default/layouts/_default/home.xslt.sitemap.xsl')
-rw-r--r-- | themes/default/layouts/_default/home.xslt.sitemap.xsl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/themes/default/layouts/_default/home.xslt.sitemap.xsl b/themes/default/layouts/_default/home.xslt.sitemap.xsl index a66877e..ce3fe98 100644 --- a/themes/default/layouts/_default/home.xslt.sitemap.xsl +++ b/themes/default/layouts/_default/home.xslt.sitemap.xsl @@ -21,7 +21,7 @@ <nav> <icon-button> <a onclick="window.history.go(-1); return false;" href="/"> - {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/arrow-left.svg")) }} + {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/arrow-left.svg")) }} <small>Back</small> </a> </icon-button> @@ -37,9 +37,10 @@ id="nav-middle-{{ path.Base .Identifier }}" href="{{ .URL | absURL }}" > - {{ with .Identifier }} {{ $icon := print (partial - "function-paths.html" "static") "/icons/" . ".svg" }} {{ safeHTML - (readFile $icon) }} {{ end }} + {{ with .Identifier }} + {{ $icon := print (partial "function-paths.html").static "/icons/" . ".svg" }} + {{ safeHTML (readFile $icon) }} + {{ end }} <small>{{ delimit (first 1 (split .Name " ")) " " }}</small> </a> </icon-button> |