Home: Add columns feature

This commit is contained in:
jtbx 2023-10-17 22:52:36 +02:00
commit 49e0179832
4 changed files with 77 additions and 7 deletions

View file

@ -72,3 +72,12 @@ You can use solid and brand icons from https://fontawesome.com/icons version 6 i
{{< fa envelope >}}
{{< fa brands gitlab >}}
```
## Home One-Pager Architecture
The Home page is a one-pager which combines multiple files from the `content/home` directory.
Each sub-directory is creating a section of the home page and all content files in these directories must have `headless: true` in their front matter.
If a directory only contains an `index.md`, it will be rendered as normal content.
If there are additional markdown files, those will be rendered as a flexbox column layout.
An image gallery can be added by providing a list of `resources` in the front matter.