summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/shortcodes/figure.html
diff options
context:
space:
mode:
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>