aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-02-22 21:47:20 -0500
committertdro <tdro@noreply.example.com>2023-02-22 21:47:20 -0500
commit7559749f262265bd5cfb32330275bcd718411da7 (patch)
tree31ac60e4e3c4ca096e54c596b512acd65cf3b7b0 /themes
parent33f0c1b37088c1876175790a81fd7be500eed0c9 (diff)
downloadcanory-7559749f262265bd5cfb32330275bcd718411da7.tar.gz
canory-7559749f262265bd5cfb32330275bcd718411da7.tar.bz2
canory-7559749f262265bd5cfb32330275bcd718411da7.zip
themes/default/layouts/_default/sitemap: Sort by date
Fix anchor hover states and add href
Diffstat (limited to 'themes')
-rw-r--r--themes/default/layouts/_default/home.xslt.sitemap.xsl2
-rw-r--r--themes/default/layouts/_default/sitemap.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/home.xslt.sitemap.xsl b/themes/default/layouts/_default/home.xslt.sitemap.xsl
index 0edfec5..a66877e 100644
--- a/themes/default/layouts/_default/home.xslt.sitemap.xsl
+++ b/themes/default/layouts/_default/home.xslt.sitemap.xsl
@@ -20,7 +20,7 @@
<main>
<nav>
<icon-button>
- <a onclick="window.history.go(-1); return false;">
+ <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>
diff --git a/themes/default/layouts/_default/sitemap.xml b/themes/default/layouts/_default/sitemap.xml
index fdbc045..c47d1db 100644
--- a/themes/default/layouts/_default/sitemap.xml
+++ b/themes/default/layouts/_default/sitemap.xml
@@ -9,7 +9,7 @@
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
>
- {{- $filteredPages := partial "function-filters-content.html" .Data.Pages -}}
+ {{- $filteredPages := partial "function-filters-content.html" .Data.Pages.ByDate.Reverse -}}
{{- range $filteredPages }}
{{- with .Sitemap.ChangeFreq -}}