From 0af0a0bee79d2fa6b19d6abea3674e70981402b2 Mon Sep 17 00:00:00 2001 From: moanos Date: Fri, 29 Aug 2025 17:41:29 +0200 Subject: [PATCH] feat: Add button shortcode --- content/_index.md | 2 ++ themes/animals/layouts/shortcodes/button.html | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 themes/animals/layouts/shortcodes/button.html diff --git a/content/_index.md b/content/_index.md index f35aa8d..c6f9884 100644 --- a/content/_index.md +++ b/content/_index.md @@ -8,3 +8,5 @@ draft = false # Ratten Du interessierst dich für Ratten als Haustiere? Hier bist du richtig! + +{{< button "🐀 Basisinformationen" "./basiswissen-ratten/" "is-primary">}} {{< button "🏠 Adoptieren" "./adoptieren/" "is-link">}} \ No newline at end of file diff --git a/themes/animals/layouts/shortcodes/button.html b/themes/animals/layouts/shortcodes/button.html new file mode 100644 index 0000000..9c2749a --- /dev/null +++ b/themes/animals/layouts/shortcodes/button.html @@ -0,0 +1,2 @@ +{{ index .Params 0}} +