diff options
Diffstat (limited to 'layouts/partials/main/landing/home-sections.html')
-rw-r--r-- | layouts/partials/main/landing/home-sections.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/layouts/partials/main/landing/home-sections.html b/layouts/partials/main/landing/home-sections.html new file mode 100644 index 0000000..4fd7da9 --- /dev/null +++ b/layouts/partials/main/landing/home-sections.html @@ -0,0 +1,15 @@ +{{ range .Params.sections }} + <section style="background-color: {{ .bgcolor }};"> + <div class="divider"> + <div class="lmr"> + {{ if eq .type "card" }} + {{ partial "main/landing/section-card.html" . }} + {{ else if eq .type "normal" }} + {{ partial "main/landing/section-normal" . }} + {{ else }} + {{ printf "%#v" "Not supported type" }} + {{ end }} + </div> + </div> + </section> +{{ end }}
\ No newline at end of file |