diff --git a/layouts/shortcodes/feature.html b/layouts/shortcodes/feature.html index 55e7d27..5318621 100644 --- a/layouts/shortcodes/feature.html +++ b/layouts/shortcodes/feature.html @@ -2,7 +2,7 @@ {{ $title := .Get "title" }} {{ $description := .Get "description" }} {{ $badge := .Get "badge" }} -{{ $badgeColor := .Get "badgeColor" | default "primary" }} +{{ $badgeColor := .Get "badgeColor" | default "#5573df" }} {{ $image := .Get "image" }} {{ $buttonText := .Get "buttonText" | default "Learn More" }} {{ $buttonLink := .Get "buttonLink" | default "#" }} @@ -10,7 +10,7 @@ {{ $features := split (.Get "features") "," }} -
+
{{ if eq $imagePosition "left" }}
{{ $title }} @@ -18,13 +18,22 @@ {{ end }}
-
{{ $badge }}
+ +
{{ $badge }}

{{ $title }}

{{ $description }}

    {{ range $features }}
  • - + {{ . | strings.TrimSpace }}