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>
This commit is contained in:
parent
9a051b68be
commit
5c01de9fd4
1 changed files with 8 additions and 7 deletions
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
{{ 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") -}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue