hackertours/layouts/home.html
Vincent Mahnke 55d59be2e2
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)
2026-11-07 19:17:45 +01:00

22 lines
494 B
HTML

{{ define "title" }}{{ site.Title }}{{ end }}
{{ 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 }}
{{ .Content }}
{{ $pages := .Site.RegularPages.RelatedTo (keyVals "tags" "current-event") -}}
{{ $paginator := .Paginate $pages -}}
{{ range $paginator.Pages -}}
{{ .Render "summary" }}
{{ end -}}
{{ partial "pagination.html" . }}
</main>
{{ end -}}