hinzugefügt classes zu shortcodes

This commit is contained in:
Andreas Hnida 2024-03-21 11:44:20 +01:00
commit 79fe74d9fc
3 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,4 @@
<div class="relative flex flex-col h-full mt-6 text-gray-700 bg-white bg-clip-border rounded-xl shadow-lg">
<div class="relative flex flex-col h-full mt-6 bg-clip-border rounded-xl shadow-lg {{ with .Get "class" }}{{ . }}{{ else }} text-gray-700 bg-white {{ end }}">
<div class="p-10 h-full">
{{ .Inner }}
</div>