mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
add new home layout
This commit is contained in:
BIN
exampleSite/content/docs/homepage-layout/home-background.png
Normal file
BIN
exampleSite/content/docs/homepage-layout/home-background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 MiB |
@@ -23,7 +23,6 @@ Additionally, any Markdown content that is provided in the homepage content will
|
||||
|
||||
To enable the profile layout, set `homepage.layout = "profile"` in the `params.toml` configuration file.
|
||||
|
||||
|
||||
## Page layout
|
||||
|
||||
The page layout is simply a normal content page that displays your Markdown content. It's great for static websites and provides a lot of flexibility.
|
||||
@@ -40,6 +39,14 @@ The hero layout brings together ideas from the profile and card layouts. This on
|
||||
|
||||
To enable the profile layout, set `homepage.layout = "profile"` and `homepage.homepageImage` in the `params.toml` configuration file.
|
||||
|
||||
## Background layout
|
||||
|
||||
The background layout is a more smooth version of the hero layout. As in the Hero layout, this one also displays both information on the author of the site and loads your markdown beneath it.
|
||||
|
||||
<img class="thumbnailshadow" src="home-background.png"/>
|
||||
|
||||
To enable the profile layout, set `homepage.layout = "background"` and `homepage.homepageImage` in the `params.toml` configuration file.
|
||||
|
||||
## Card layout
|
||||
|
||||
The card layout is an extension of the page layout. It provides the same level of flexivbility by also displaying your markdown content and adds a card image to display visual content.
|
||||
|
||||
Reference in New Issue
Block a user