forked from CCCHH/ccchh-website
Home: Add columns feature
This commit is contained in:
parent
93b4246cd1
commit
49e0179832
4 changed files with 77 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue