Add site title banner
This commit is contained in:
parent
14f097c70c
commit
df3366a3db
3 changed files with 27 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue