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