diff --git a/layouts/_default/feature.html b/layouts/_default/feature.html new file mode 100644 index 0000000..d85b8c6 --- /dev/null +++ b/layouts/_default/feature.html @@ -0,0 +1,76 @@ +{{ define "main" }} +
+ +
+ +
+
+
+
+ {{ with .Params.badge }} +
+ + {{ . }} + +
+ {{ end }} +

{{ .Title }}

+

{{ .Description }}

+
+
+
+
+ + +
+ + {{ if .Params.features }} +
+
+ {{ range .Params.features }} +
+
+ {{ .title }} +
+
+

{{ .description }}

+
+
+ {{ end }} +
+
+ {{ end }} + + +
+ {{ .Content }} +
+ + + {{ if .Params.demo }} +
+
+

See it in action

+

{{ .Params.demo.description }}

+
+
+
+ Demo +
+
+
+ {{ end }} +
+ + + {{ partial "components/cta.html" . }} +
+{{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index f910cec..097ccc1 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,4 +1,5 @@ {{ $headerConfig := .Site.Params.header }} +{{ $dropdownConfig := $headerConfig.menu.dropdown }}
@@ -19,7 +20,25 @@ @@ -55,7 +74,18 @@