diff options
author | Paul <paul@brainspark.nl> | 2020-03-12 01:25:52 +0300 |
---|---|---|
committer | Paul <paul@brainspark.nl> | 2020-03-12 01:25:52 +0300 |
commit | 2b786be17dca8b0cb9edbb0552f60f9e3797abda (patch) | |
tree | 1b7f18a79ea1b8178ab45a4b9ce3b64ecf0ec563 | |
parent | 4a37d294c33a5dcd9a702188a3083d6984564307 (diff) |
Add bare homeType
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | layouts/partials/homes/bare.html | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -22,7 +22,7 @@ Of course there is also support for: ## Switching navigation, header or footer -Within your `config.toml` add the according parameter you want the theme to use. By default, the theme uses 'simples' for home, navigation, header and footer. +Within your `config.toml` add the according parameter you want the theme to use. By default, the theme uses 'simple' for home, navigation, header and footer. ~~~ [Params] @@ -40,6 +40,7 @@ The theme will look for the theme parts in *layouts/partials/navs/*, *layouts/pa The following home page styles are included for **content/_index.md**: +* `bare`, no scaffolding, giving you total control over the structure. * `simple`, just a plain bootstrap row and col-8. * `no_row`, just a bootstrap container, giving you full flexibility to fill the container. diff --git a/layouts/partials/homes/bare.html b/layouts/partials/homes/bare.html new file mode 100644 index 0000000..dc5ea14 --- /dev/null +++ b/layouts/partials/homes/bare.html @@ -0,0 +1,3 @@ + {{ with .Content }} + {{.}} + {{ end }} |