summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/shortcodes/figure.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-18 18:19:47 +0200
committerDanilo M. <danix@danix.xyz>2026-04-18 18:19:47 +0200
commit46779476a570346661a2741607265caed42829b2 (patch)
tree40ceae59ea6733fbd4dcce41d9ff6e5b24fc3d4e /themes/danix-xyz-hacker/layouts/shortcodes/figure.html
parentc1407fa9fb558e42588aa194a53e78a087f045f0 (diff)
downloaddanixxyz-46779476a570346661a2741607265caed42829b2.tar.gz
danixxyz-46779476a570346661a2741607265caed42829b2.zip
consolidated duplicated shortcodes. Initial fix of the content files. Manual review needed
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/shortcodes/figure.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/shortcodes/figure.html8
1 files changed, 0 insertions, 8 deletions
diff --git a/themes/danix-xyz-hacker/layouts/shortcodes/figure.html b/themes/danix-xyz-hacker/layouts/shortcodes/figure.html
deleted file mode 100644
index 27d6cb2..0000000
--- a/themes/danix-xyz-hacker/layouts/shortcodes/figure.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{- $src := .Get "src" -}}
-{{- $alt := .Get "alt" -}}
-{{- $class := .Get "class" -}}
-<figure class="my-6 {{ $class }}">
- {{- if $src -}}<img src="{{ $src }}" alt="{{ $alt }}" class="w-full" />{{ end -}}
- {{- .Inner -}}
- {{- if .Get "caption" -}}<figcaption class="text-sm text-text-dim mt-2">{{ .Get "caption" }}</figcaption>{{ end -}}
-</figure>