format layouts/_default/single.html with spaces for consistency

This commit is contained in:
Andrew Harvey
2020-02-28 23:36:18 +11:00
committed by GitHub
parent f178f6f98e
commit 6efd0ec997

View File

@@ -6,7 +6,7 @@
<main class="content side-text-padding"> <main class="content side-text-padding">
<article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}"> <article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}">
<header class="post-header"> <header class="post-header">
<h1 class="post-title">{{ .Title }}</h1> <h1 class="post-title">{{ .Title }}</h1>
{{ if isset .Params "date" }}<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>{{ end }} {{ if isset .Params "date" }}<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>{{ end }}
</header> </header>
{{ with .Resources.GetMatch "featuredImage" -}} {{ with .Resources.GetMatch "featuredImage" -}}