- {{ range first 1 $data.homepage.slider.slider_item }}
-
-
+
{{ $data.homepage.slider.title | markdownify }}
-
{{ .content | markdownify }}
- {{ if .button.enable }}
-
{{ .button.label }}
+ {{ range first 1 $data.homepage.slider.slider_item }}
+
{{ .content | markdownify }}
+ {{ if .button.enable }}
+
{{ .button.label }}
+ {{ end }}
{{ end }}
- {{ end }}
-
diff --git a/static/admin/config.yml b/static/admin/config.yml
index 9b36056c..9aea1474 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -74,16 +74,6 @@ collections:
widget: "list"
fields:
- {label: "Inhalt", name: "content", widget: "string", required: false}
- - label: "Einblendeanimation"
- name: "animation_in"
- widget: "select"
- options: ["left", "right", "up", "down"]
- required: false
- - label: "Ausblendeanimation"
- name: "animation_out"
- widget: "select"
- options: ["left", "right", "up", "down"]
- required: false
- label: "Button"
name: "button"
widget: "object"