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) --- themes/danix-xyz-hacker/layouts/shortcodes/gallery.html | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 themes/danix-xyz-hacker/layouts/shortcodes/gallery.html (limited to 'themes/danix-xyz-hacker/layouts/shortcodes/gallery.html') diff --git a/themes/danix-xyz-hacker/layouts/shortcodes/gallery.html b/themes/danix-xyz-hacker/layouts/shortcodes/gallery.html deleted file mode 100644 index b66c327..0000000 --- a/themes/danix-xyz-hacker/layouts/shortcodes/gallery.html +++ /dev/null @@ -1,12 +0,0 @@ -{{- $cols := .Get "cols" | default "2" -}} - -
- {{- range $line := strings.Split .Inner "\n" -}} - {{- if strings.Contains $line "![" -}} - {{- $image := strings.TrimSpace $line -}} - {{- if $image -}} - {{ $image | markdownify | safeHTML }} - {{- end -}} - {{- end -}} - {{- end -}} -
-- cgit v1.2.3