upgrade theme
This commit is contained in:
@@ -95,5 +95,5 @@ $font-path: '/fonts/static/'
|
|||||||
|
|
||||||
*
|
*
|
||||||
font-family: 'Source Sans 3', sans-serif
|
font-family: 'Source Sans 3', sans-serif
|
||||||
code
|
code, pre
|
||||||
font-family: 'Source Code Pro', monospace
|
font-family: 'Source Code Pro', monospace
|
||||||
|
@@ -11,10 +11,14 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{ $pages := shuffle (where site.RegularPages "Section" "tools") | first 20 }}
|
<!-- <section> -->
|
||||||
<section>
|
<!-- </section> -->
|
||||||
<h2>Try Something New</h2>
|
|
||||||
<p>This list shows a selection of 20 random tools, refreshed every time this site is updated.</p>
|
{{ $pages := shuffle (where site.RegularPages "Section" "tools") | first 20 }}
|
||||||
|
<section>
|
||||||
|
<h2>Try Something New</h2>
|
||||||
|
<p><strong>Proudly featuring {{ len (where site.RegularPages "Section" "tools") }} tools and counting!</strong>
|
||||||
|
<br>This list shows a selection of 20 random tools, refreshed every time this site is updated.</p>
|
||||||
<div id="tool-cards">
|
<div id="tool-cards">
|
||||||
{{ range $pages }}
|
{{ range $pages }}
|
||||||
<article class="tool-card">
|
<article class="tool-card">
|
||||||
|
1
layouts/shortcodes/rawhtml.html
Normal file
1
layouts/shortcodes/rawhtml.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ .Inner }}
|
1
layouts/shortcodes/safehtml.html
Normal file
1
layouts/shortcodes/safehtml.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ .Inner | safeHTML }}
|
Reference in New Issue
Block a user