Add page title to home page with same styling as News/FAQ pages
- Added <h1 class="title"> with page title to home page - Uses same structure as list pages (News, FAQ, Tours) - Title inherits styling from existing .title class (--fs-xxl)
This commit is contained in:
parent
8996266a61
commit
55d59be2e2
1 changed files with 6 additions and 7 deletions
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
{{ define "main" -}}
|
||||
<main class="main layout__main">
|
||||
<header>
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
</header>
|
||||
{{ if .Param "intro" }}
|
||||
<div class="intro-text">{{ .Param "intro" }}</div>
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue