summaryrefslogtreecommitdiff
path: root/themes/hugo-xmin/layouts/index.html
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2025-09-11 21:12:26 -0500
committerHunter Kvalevog <hunter@kvog.sh>2025-09-11 21:12:26 -0500
commit039a2f2755e0115b0339fea56d97fd90c4bbc951 (patch)
treef9c410ca8d06efeec9d2db16d3c7f34b9c1d3b28 /themes/hugo-xmin/layouts/index.html
Diffstat (limited to 'themes/hugo-xmin/layouts/index.html')
-rw-r--r--themes/hugo-xmin/layouts/index.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/themes/hugo-xmin/layouts/index.html b/themes/hugo-xmin/layouts/index.html
new file mode 100644
index 0000000..a3daf68
--- /dev/null
+++ b/themes/hugo-xmin/layouts/index.html
@@ -0,0 +1,26 @@
+{{ partial "header.html" . }}
+
+{{ .Content }}
+
+<h2>Cheat Sheets:</h2>
+<ul>
+ {{ $pages := .Site.RegularPages }}
+ {{ range (where $pages "Section" "cheatsheets") }}
+ <li>
+ <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
+ </li>
+ {{ end }}
+</ul>
+
+<h2>Posts:</h2>
+<ul>
+ {{ $pages := .Site.RegularPages }}
+ {{ range (where $pages "Section" "posts") }}
+ <li>
+ <span class="date">{{ .Date.Format "2006/01/02" }}</span>
+ <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
+ </li>
+ {{ end }}
+</ul>
+
+{{ partial "footer.html" . }} \ No newline at end of file