From 53d127c349a06c0e0689cac2bf94e9e42481ef21 Mon Sep 17 00:00:00 2001 From: Landon Taylor Date: Fri, 22 Aug 2025 13:52:00 -0600 Subject: [PATCH] upgrade theme --- assets/sass/_fonts.sass | 2 +- layouts/home.html | 12 ++++++++---- layouts/shortcodes/rawhtml.html | 1 + layouts/shortcodes/safehtml.html | 1 + 4 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 layouts/shortcodes/rawhtml.html create mode 100644 layouts/shortcodes/safehtml.html diff --git a/assets/sass/_fonts.sass b/assets/sass/_fonts.sass index 8005c68..b6172e1 100644 --- a/assets/sass/_fonts.sass +++ b/assets/sass/_fonts.sass @@ -95,5 +95,5 @@ $font-path: '/fonts/static/' * font-family: 'Source Sans 3', sans-serif -code +code, pre font-family: 'Source Code Pro', monospace diff --git a/layouts/home.html b/layouts/home.html index c63e638..64a783f 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -11,10 +11,14 @@ {{ .Content }} - {{ $pages := shuffle (where site.RegularPages "Section" "tools") | first 20 }} -
-

Try Something New

-

This list shows a selection of 20 random tools, refreshed every time this site is updated.

+ + + + {{ $pages := shuffle (where site.RegularPages "Section" "tools") | first 20 }} +
+

Try Something New

+

Proudly featuring {{ len (where site.RegularPages "Section" "tools") }} tools and counting! +
This list shows a selection of 20 random tools, refreshed every time this site is updated.

{{ range $pages }}
diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html new file mode 100644 index 0000000..88c822a --- /dev/null +++ b/layouts/shortcodes/rawhtml.html @@ -0,0 +1 @@ +{{ .Inner }} \ No newline at end of file diff --git a/layouts/shortcodes/safehtml.html b/layouts/shortcodes/safehtml.html new file mode 100644 index 0000000..f6404ed --- /dev/null +++ b/layouts/shortcodes/safehtml.html @@ -0,0 +1 @@ +{{ .Inner | safeHTML }} \ No newline at end of file