Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pjbakker/flexible-seo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul <paul@brainspark.nl>2020-03-12 01:25:52 +0300
committerPaul <paul@brainspark.nl>2020-03-12 01:25:52 +0300
commit2b786be17dca8b0cb9edbb0552f60f9e3797abda (patch)
tree1b7f18a79ea1b8178ab45a4b9ce3b64ecf0ec563
parent4a37d294c33a5dcd9a702188a3083d6984564307 (diff)
Add bare homeType
-rw-r--r--README.md3
-rw-r--r--layouts/partials/homes/bare.html3
2 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3786c34..c7edaf7 100644
--- a/README.md
+++ b/README.md
@@ -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 }}