add new home layout

This commit is contained in:
Nuno Coração
2022-10-16 17:25:13 +01:00
parent ac1a2126a1
commit e891c8b68d
12 changed files with 107 additions and 31 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

View File

@@ -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.