From 070568af65471ca277dbf175033d4a774ebefc0c Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Sat, 27 Apr 2024 13:49:25 +0200 Subject: [PATCH] Add formEventDropdown.html shortcode template --- readme.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/readme.md b/readme.md index ceef632..1c02045 100755 --- a/readme.md +++ b/readme.md @@ -31,6 +31,7 @@ Production site: ve - [Columns](#columns) - [Font-Awesome Icon](#font-awesome-icon) - [Section](#section) + - [formEventDropdown](#formeventdropdown) - [Deployment](#deployment) - [Development](#development) @@ -205,6 +206,16 @@ Kann ein `Background` - Attribut haben: [⬆](#table-of-contents) +### formEventDropdown + +**Pfad:** themes/hugoplate/layouts/shortcodes/formEventDropdown.html + +`{{< formEventDropdown >}}` + +Renders a dropdown form field with the available events. You set the events in the `schulungstermine` parameter in the frontmatter of the page. + +[⬆](#table-of-contents) + ## Deployment Deployment is done via Gitea Runners. The deployment is triggered by a push to the `main` branch. The deployment will automatically build the site and deploy it to the production or preview environment.