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) --- .../danix-xyz-hacker/layouts/shortcodes/image.html | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 themes/danix-xyz-hacker/layouts/shortcodes/image.html (limited to 'themes/danix-xyz-hacker/layouts/shortcodes/image.html') diff --git a/themes/danix-xyz-hacker/layouts/shortcodes/image.html b/themes/danix-xyz-hacker/layouts/shortcodes/image.html deleted file mode 100644 index 84dec3f..0000000 --- a/themes/danix-xyz-hacker/layouts/shortcodes/image.html +++ /dev/null @@ -1,23 +0,0 @@ -{{- $src := .Get "src" -}} -{{- $alt := .Get "alt" | default "Image" -}} -{{- $caption := .Get "caption" -}} -{{- $class := .Get "class" | default "w-full h-auto rounded-lg border border-border" -}} -{{- $link := .Get "link" -}} -{{- $figureClass := .Get "figure-class" -}} - -{{- if or $src .Inner -}} -
- {{- if .Inner -}} - {{- .Inner -}} - {{- else -}} - {{- if $link -}}{{- end -}} - {{ $alt }} - {{- if $link -}}{{- end -}} - {{- end -}} - {{- if $caption -}} -
{{ $caption }}
- {{- end -}} -
-{{- else -}} - {{- errorf "image shortcode: 'src' parameter or inner content is required" -}} -{{- end -}} -- cgit v1.2.3