diff options
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> |