CHANGE from config to md files for index page

This commit is contained in:
Hoernschen 2023-11-19 17:11:04 +01:00
parent 80feba5acc
commit db7ec5795f
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
12 changed files with 37 additions and 54 deletions

View file

@ -1,4 +1,5 @@
{{- $hero := .hero }}
{{- $content := .content }}
{{- $color := .color }}
{{- $odd := .odd }}
{{- $id := "hero"}}
@ -19,7 +20,7 @@
<h1 class="content-title">{{ $hero.title }}</h1>
<div class="divider"></div>
</div>
<p>{{ $hero.subtitle }}</p>
<p>{{ $content }}</p>
{{if $hero.button.visible}}
<a class="hero-button" href="{{ $hero.button.url }}">{{ $hero.button.text }}</a>
{{end}}