diff --git a/content/spotlights/_index.md b/content/spotlights/_index.md new file mode 100644 index 0000000..c2d459d --- /dev/null +++ b/content/spotlights/_index.md @@ -0,0 +1,8 @@ +--- +cascade: +- build: + list: local + publishResources: false + render: never +title: spotlight section +--- diff --git a/layouts/partials/spotlight-headless.html b/layouts/partials/spotlight-headless.html new file mode 100644 index 0000000..47bb007 --- /dev/null +++ b/layouts/partials/spotlight-headless.html @@ -0,0 +1,20 @@ +{{ with .Site.GetPage "/spotlights" }} + {{ range .Pages }} +
+
+

{{ .Title }}

+

{{ .Content }}

+ {{ with .Params.button }} + + {{ end }} +
+ {{ range .Resources.ByType "image" }} +
+ +
+ {{ end }} +
+ {{ end }} +{{ end }}