wires

summary refs log tree commit diff
path: root/layouts
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-04-01 19:54:42 -0400
committerwires <wires@noreply.wires.systems>2025-04-01 19:54:42 -0400
commitbb9436fee3dc00ac845bd9a54cd4ffd55c90adf3 (patch)
tree86e3ffac521a6325e78d38fc22d69e8412dd2245 /layouts
parentfix headache with main page and mobile (diff)
downloadblog-bb9436fee3dc00ac845bd9a54cd4ffd55c90adf3.tar.gz
lots more little typography tweaks
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/_markup/render-codeblock.html2
-rw-r--r--layouts/_default/single.html4
-rw-r--r--layouts/_default/taxonomy.html2
-rw-r--r--layouts/_default/term.html5
-rw-r--r--layouts/partials/head.html2
5 files changed, 10 insertions, 5 deletions
diff --git a/layouts/_default/_markup/render-codeblock.html b/layouts/_default/_markup/render-codeblock.html
index 9bfc3b1..f3912ad 100644
--- a/layouts/_default/_markup/render-codeblock.html
+++ b/layouts/_default/_markup/render-codeblock.html
@@ -1 +1 @@
-<pre class="chroma"><code class="language-{{ .Type }}" data-lang="{{ .Type }}">{{ (transform.HighlightCodeBlock .).Inner }}</code></pre>
+<pre><code class="chroma language-{{ .Type }}" data-lang="{{ .Type }}">{{ (transform.HighlightCodeBlock .).Inner }}</code></pre>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9d119b8..6499907 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -13,6 +13,6 @@
     {{ .TableOfContents }}
   </aside>
   <a id="post"></a>
-  {{ end }} {{ .Content }} {{ partial "tags.html" . }}
+  {{ end }} {{ .Content }}
 </article>
-{{ end }}
+{{ partial "tags.html" . }} {{ end }}
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index 75b0b34..9828f28 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -1,5 +1,5 @@
 {{ define "main" }}
-<h2>{{ .Title }}</h2>
+<h1>{{ .Title }}</h1>
 <ul>
   {{ range .Pages }}
   <li>
diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index cf3239a..35ef1de 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -1,9 +1,12 @@
 {{ define "main" }}
-<h2>{{ .Title }}</h2>
+<h1>{{ .Title }}</h1>
 <ul>
   {{ range .Pages }}
   <li>
     <a href="{{ .Permalink }}">{{ .Title }}</a>
+    <time datetime="{{ .Lastmod }}">
+      {{ .Lastmod.Format "January 2, 2006" }}
+    </time>
   </li>
   {{ end }}
 </ul>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2fe366d..fe097e4 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -6,6 +6,8 @@
 {{ with .Keywords }}<meta name="keywords" content="{{ delimit . ", " }}"/>{{ end }}
 <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"/>
 <link rel="canonical" href="{{ .Permalink }}"/>
+<link rel="preconnect" href="https://rsms.me/">
+<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
 {{ range slice "style.css" "syntax.css"}}
 {{- with resources.Get . }}
   {{- if eq hugo.Environment "development" }}