Add site title banner

This commit is contained in:
Elnu 2023-03-01 19:54:26 -08:00
parent 14f097c70c
commit df3366a3db
3 changed files with 27 additions and 2 deletions

View file

@ -2,8 +2,19 @@
<html>
{{- partial "head.html" . -}}
<body>
<div class="content">
<a href="/" class="site-header">
{{ with .Site.Params.Avatar }}
<img src="{{ . }}">
{{ end }}
<header>
<h1>{{ .Site.Title }}</h1>
{{ with .Site.Params.Tagline }}
<h3>{{ . }}</h3>
{{ end }}
</header>
</a>
<br>
{{ if .Site.Params.Stork }}
<div class="stork-search">
<label>

View file

@ -2,7 +2,6 @@
{{ $pagination := .Paginate (where .Site.RegularPages "Params.hidden" "!=" true) }}
{{ partial "pagination.html" $pagination }}
{{ if eq $pagination.PageNumber 1 }}
<h1>{{ .Title }}</h1>
{{ partial "content.html" .Content }}
{{ end }}
{{ $scratch := newScratch }}