wires

summary refs log tree commit diff
path: root/layouts/_default
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-04-01 13:04:41 -0400
committerwires <wires@noreply.wires.systems>2025-04-01 13:04:41 -0400
commit4858f463ad85c2790960ab16c9640cf397508fbd (patch)
tree1ac332a5440fe834829ea29ef4a809ff325411fc /layouts/_default
parentlittle tweaks to tags + comment color (diff)
downloadblog-4858f463ad85c2790960ab16c9640cf397508fbd.tar.gz
fix codeblock tab-index issue
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/_markup/render-codeblock.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-codeblock.html b/layouts/_default/_markup/render-codeblock.html
new file mode 100644
index 0000000..9bfc3b1
--- /dev/null
+++ b/layouts/_default/_markup/render-codeblock.html
@@ -0,0 +1 @@
+<pre class="chroma"><code class="language-{{ .Type }}" data-lang="{{ .Type }}">{{ (transform.HighlightCodeBlock .).Inner }}</code></pre>