diff options
author | tdro <tdro@noreply.example.com> | 2023-09-09 19:12:32 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-09-09 19:12:32 -0400 |
commit | 14fca032762fc1c92c3e6798aa1c628b1151d443 (patch) | |
tree | 8a0c52b33d5087d035cb777f6fe234a8cc276a5c /themes/default/layouts/_default/home.xslt.sitemap.xsl | |
parent | a625a207790a7d95357f8f16bb936e82464674d6 (diff) | |
download | canory-14fca032762fc1c92c3e6798aa1c628b1151d443.tar.gz canory-14fca032762fc1c92c3e6798aa1c628b1151d443.tar.bz2 canory-14fca032762fc1c92c3e6798aa1c628b1151d443.zip |
themes/default/layouts/_default/baseof: More granularity with header
Diffstat (limited to 'themes/default/layouts/_default/home.xslt.sitemap.xsl')
-rw-r--r-- | themes/default/layouts/_default/home.xslt.sitemap.xsl | 67 |
1 files changed, 33 insertions, 34 deletions
diff --git a/themes/default/layouts/_default/home.xslt.sitemap.xsl b/themes/default/layouts/_default/home.xslt.sitemap.xsl index 4833a22..67a4459 100644 --- a/themes/default/layouts/_default/home.xslt.sitemap.xsl +++ b/themes/default/layouts/_default/home.xslt.sitemap.xsl @@ -16,37 +16,37 @@ <body> <column-base position="left"></column-base> <column-base position="middle"> - <main> - <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")) }} - <small>Back</small> - </a> - </icon-button> - <section> - <h2>{{ $.Site.Title }} Site Map</h2> - <small>Site Map Preview</small> - </section> - {{ if .Site.Menus.main }} - {{ range .Site.Menus.main }} - <icon-navigator hidden=""> - <icon-button> - <a - id="nav-middle-{{ path.Base .Identifier }}" - href="{{ .URL | absURL }}" - > - {{ 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> - </icon-navigator> - {{ end }} + <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")) }} + <small>Back</small> + </a> + </icon-button> + <section> + <h2>{{ $.Site.Title }} Site Map</h2> + <small>Site Map Preview</small> + </section> + {{ if .Site.Menus.main }} + {{ range .Site.Menus.main }} + <icon-navigator hidden=""> + <icon-button> + <a + id="nav-middle-{{ path.Base .Identifier }}" + href="{{ .URL | absURL }}" + > + {{ 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> + </icon-navigator> {{ end }} - </nav> + {{ end }} + </nav> + <main> <navigation-separator><hr hidden=""></hr></navigation-separator> <section> <table> @@ -68,10 +68,9 @@ <xsl:attribute name="href"> <xsl:value-of select="sitemap:loc" /> </xsl:attribute> - <xsl:attribute name="title"> - Last Modified: <xsl:value-of select="sitemap:lastmod" /> - Frequency: <xsl:value-of select="sitemap:changefreq" /> - Priority: <xsl:value-of select="sitemap:priority" /> +<xsl:attribute name="title">Last Modified: <xsl:value-of select="sitemap:lastmod" /> +Frequency: <xsl:value-of select="sitemap:changefreq" /> +Priority: <xsl:value-of select="sitemap:priority" /> </xsl:attribute> <xsl:value-of select="sitemap:loc" /> </a> |