From aec99f3e8d57f40545e9cad1657e1d85952816c0 Mon Sep 17 00:00:00 2001 From: mms Date: Mon, 26 Feb 2024 21:45:23 +0100 Subject: feat: web buttons --- layouts/partials/button-15.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 layouts/partials/button-15.html (limited to 'layouts/partials/button-15.html') diff --git a/layouts/partials/button-15.html b/layouts/partials/button-15.html new file mode 100644 index 0000000..009ed5c --- /dev/null +++ b/layouts/partials/button-15.html @@ -0,0 +1,13 @@ +{{- $file := .file }} +{{- $path := printf "webbuttons/%s" $file}} +{{- $img := resources.Get $path }} +{{- $img := $img.Resize "80x15 webp q90"}} + +{{- if $.href }} {{ end }} + {{ $.alt }} +{{- if $.href }} {{ end }} -- cgit v1.2.3