diff --git a/exampleSite/layouts/index.html b/exampleSite/layouts/index.html new file mode 100644 index 00000000..a6391b00 --- /dev/null +++ b/exampleSite/layouts/index.html @@ -0,0 +1,13 @@ +{{/* blowfish.page homepage: theme layout switcher plus site-specific sponsors and contributors. */}} +{{ define "main" }} + {{ partial "home/layout-switcher.html" . }} + {{ $jsHome := resources.Get "js/home.js" | resources.Minify | resources.Fingerprint (.Site.Params.fingerprintAlgorithm | default "sha512") }} + +
+ {{ partial "sponsors.html" . }} + {{ partial "contributors.html" . }} +
+
+ {{ partial "recent-articles/main.html" . }} +
+{{ end }} diff --git a/layouts/index.html b/layouts/index.html index 265e8e1c..5389dafe 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,10 +11,6 @@ {{ partial "home/profile.html" . }} {{ end }} {{ end }} -
- {{ partial "sponsors.html" . }} - {{ partial "contributors.html" . }} -
{{ partial "recent-articles/main.html" . }}