Updated layout for entry summary and single.

This commit is contained in:
Chris 2018-04-15 21:51:49 -04:00
parent fd06101484
commit f0075c6636
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{{ define "header" }}
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
<div class="container">
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png')" data-href="{{ .Permalink }}">
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png')">
<div>
<span class="title px-md py-sm has-background-dark">{{ .Title }}</span>
</div>

View file

@ -15,7 +15,7 @@
</div>
{{ else }}
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
<div class="mb-md blog-entry-header summary" style="background-image: url('/{{ .Dir }}/banner.png')" data-href="{{ .Permalink }}">
<div class="mb-md blog-entry-header summary entry" style="background-image: url('/{{ .Dir }}/summary.png')" data-href="{{ .Permalink }}">
<div class="px-md">
<span class="title">{{ .Title }}</span>
</div>