From 5b476f8905f411768e23cb01d577a60e5a5fd725 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 22 Apr 2026 12:43:22 +0200 Subject: chore: extract theme into git submodule (danix2-hugo-theme) --- .../layouts/_default/_markup/render-codeblock.html | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 themes/danix-xyz-hacker/layouts/_default/_markup/render-codeblock.html (limited to 'themes/danix-xyz-hacker/layouts/_default/_markup/render-codeblock.html') diff --git a/themes/danix-xyz-hacker/layouts/_default/_markup/render-codeblock.html b/themes/danix-xyz-hacker/layouts/_default/_markup/render-codeblock.html deleted file mode 100644 index 6f3e357..0000000 --- a/themes/danix-xyz-hacker/layouts/_default/_markup/render-codeblock.html +++ /dev/null @@ -1,23 +0,0 @@ -{{- $lang := .Type -}} -{{- $hasLang := gt (len $lang) 0 -}} -{{- $highlightLang := $lang -}} -{{- if not $hasLang -}}{{- $highlightLang = "text" -}}{{- end -}} -{{- $opts := dict "lineNos" true "lineNumbersInTable" true -}} - -
- {{- if $hasLang -}} -
- {{ $lang }} -
- - -
-
- {{- end -}} -
-{{- highlight .Inner $highlightLang $opts -}} -
-
-- cgit v1.2.3