hugo.yaml now stacks themes: hackertours, then zen. layouts/, assets/, i18n/ and the design files from static/ (web manifest, Lucide icons) move to themes/hackertours/. themes/zen goes back to the unmodified upstream v7.1.0; the changes from the hackertours-mobile-nav fork branch live in themes/hackertours instead (mobilemenu.css and mobilemenu.js override zen's, the mobile menu colour is set in _custom.css; the fork's _custom.css additions were already in ours). The generated site is unchanged, apart from where the mobile menu colour is declared in the CSS.
16 lines
293 B
HTML
16 lines
293 B
HTML
{{ define "main" -}}
|
|
<main class="main layout__main">
|
|
<header>
|
|
<h1 class="title">{{ .Title }}</h1>
|
|
</header>
|
|
|
|
{{ .Content }}
|
|
|
|
{{ $paginator := .Paginate (.Pages) -}}
|
|
{{ range $paginator.Pages.ByTitle -}}
|
|
{{ .Render "summary" }}
|
|
{{ end -}}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
</main>
|
|
{{ end -}}
|