wires

summary refs log tree commit diff
path: root/layouts/_markup/render-codeblock.html
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-07-29 14:37:32 -0400
committerwires <wires@noreply.wires.systems>2025-07-29 14:37:32 -0400
commit54e4a732484c120d9f95fe3451da932859cf7473 (patch)
tree8eadbeaed6fbac095f602740f3abfc8b76a860fe /layouts/_markup/render-codeblock.html
parentadd draft reading list page (diff)
downloadblog-54e4a732484c120d9f95fe3451da932859cf7473.tar.gz
fix stuff for new version of hugo
Diffstat (limited to 'layouts/_markup/render-codeblock.html')
-rw-r--r--layouts/_markup/render-codeblock.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_markup/render-codeblock.html b/layouts/_markup/render-codeblock.html
new file mode 100644
index 0000000..f3912ad
--- /dev/null
+++ b/layouts/_markup/render-codeblock.html
@@ -0,0 +1 @@
+<pre><code class="chroma language-{{ .Type }}" data-lang="{{ .Type }}">{{ (transform.HighlightCodeBlock .).Inner }}</code></pre>