You can decorate your homepage within a fixed frame. I made some front-matters for you to make it easy.
At first, you should make _index.md file in the content root folder. (root/content/en/_index.md)
1
2
3
4
5
6
7
---
title: Z Themes
description: Hugo zzo, zdoc theme documentation home page
date: 2020-01-26T04:15:05+09:00
draft: false
...
---
1. Landing Page
You can set landing page Front-Matters like this. BackgroundImage Front-Matter is currently in development. Edit some Front-Matters by your self and find something useful on your own.
---
...
sections:
- bgcolor: teal
type: card
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id eleifend erat. Integer eget mattis augue. Suspendisse semper laoreet tortor sed convallis. Nulla ac euismod lorem"
header:
title: Why Zdoc
hlcolor: "#8bc34a"
color: '#fff'
fontSize: 32
width: 220
cards:
- subtitle: Performance
subtitlePosition: center
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id eleifend erat. Integer eget mattis augue."
image: images/section/keyboard.png
color: white
button:
name: Naver
link: https://naver.com
size: large
target: _blank
color: 'white'
bgcolor: '#283593'
- subtitle: Reliability
subtitlePosition: center
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id eleifend erat. Integer eget mattis augue. Suspendisse semper laoreet tortor sed convallis. Nulla ac euismod lorem"
image: images/section/processor.png
color: white
button:
name: Google
link: https://google.com
size: large
target: _blank
color: 'white'
bgcolor: '#283593'
- subtitle: Productivity
subtitlePosition: center
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id eleifend erat. Integer eget mattis augue. Suspendisse semper laoreet tortor sed convallis. Nulla ac euismod lorem"
image: images/section/root-server.png
color: white
button:
name: Yahoo
link: https://yahoo.com
size: large
target: _blank
color: 'white'
bgcolor: '#283593'
- bgcolor: DarkSlateBlue
type: normal
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id eleifend erat. Integer eget mattis augue. Suspendisse semper laoreet tortor sed convallis. Nulla ac euismod lorem"
header:
title: Build it with Zdoc
hlcolor: DarkKhaki
color: "#fff"
fontSize: 32
width: 340
body:
subtitle: Extensible and customizable.
subtitlePosition: left
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id eleifend erat. Integer eget mattis augue. Suspendisse semper laoreet tortor sed convallis. Nulla ac euismod lorem"
color: white
image: images/section/root-server.png
imagePosition: left
...
---