Spacing fix in class attributes.

This commit is contained in:
Fredrik Jonsson 2017-06-19 11:26:19 +02:00
commit 5f8869dfa8
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} full-view">
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}full-view">
<header>
<h1 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}

View file

@ -5,7 +5,7 @@
{{ define "main" -}}
<main class="{{ if $.Param "sidebar" | default true }}layout-3col__left-content{{ else }}layout-3col__full{{ end }}" role="main">
<h1 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}">{{ .Title }}</h1>
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} single-view">
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">
<header>
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}
{{ if .Params.tags }}{{ partial "tags.html" . -}}{{ end }}

View file

@ -1,4 +1,4 @@
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} list-view">
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}list-view">
<header>
<h2 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}

View file

@ -6,7 +6,7 @@
{{ define "main" -}}
<main class="{{ if $.Param "sidebar" | default true }}layout-3col__left-content{{ else }}layout-3col__full{{ end }}" role="main">
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} single-view">
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">
{{ .Content }}
</article>
</main>