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>
19 lines
439 B
HTML
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 -}}
|