fix header image

This commit is contained in:
Madison Scott-Clary
2019-03-06 10:37:20 -08:00
parent 82bac661e0
commit f0686b620a
3 changed files with 1 additions and 3 deletions

View File

@ -4,9 +4,7 @@
<body>
<div class="flex-container">
{{- partial "header.html" . -}}
<div class="content wrapper">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
{{- partial "javascripts.html" . }}
</div>

View File

@ -5,7 +5,7 @@
<div class="cover-image" style="background: url(/assets/img/{{.}}) center no-repeat; background-size: cover;"></div>
</div>
{{ end }}
<div class="wrapper{{ if .Params.img}} with-image{{ end }}">
<div class="wrapper{{ if .Params.img }} with-image{{ end }}">
<div class="page-content">
<div class="header-page">
<h1 class="page-title">{{ .Title }}</h1>