hackertours/layouts/home.html
Vincent Mahnke 5c01de9fd4
All checks were successful
/ build (pull_request) Successful in 1m14s
/ accessibility (pull_request) Successful in 1m59s
Simplify header and move intro text to main content
Header changes:
- Remove headline and intro text from header
- Keep only logo and site name (h1) in header
- Remove header__intro section

Home page changes:
- Move intro/tagline text to main content area
- Display at same level as 'News' and other content, not as header
- Style as regular body text with .intro-text class

Submodule update:
- Update hackertours-theme to include intro text styling

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-07 18:20:13 +01:00

19 lines
439 B
HTML

{{ define "title" }}{{ site.Title }}{{ end }}
{{ define "main" -}}
<main class="main layout__main">
{{ 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 -}}