Merge pull request #52 from andrewharvey/patch-1

format layouts/_default/single.html with spaces for consistency
This commit is contained in:
Joe Hutchinson
2020-02-28 12:45:34 -06:00
committed by GitHub

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" -}}
@@ -35,4 +35,4 @@
</nav> </nav>
{{ partial "scripts.html" . }} {{ partial "scripts.html" . }}
</body> </body>
</html> </html>