Spacing fix in class attributes.
This commit is contained in:
parent
cd457d7bcd
commit
5f8869dfa8
4 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} full-view">
|
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}full-view">
|
||||||
<header>
|
<header>
|
||||||
<h1 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
|
<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 }}
|
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
{{ define "main" -}}
|
{{ define "main" -}}
|
||||||
<main class="{{ if $.Param "sidebar" | default true }}layout-3col__left-content{{ else }}layout-3col__full{{ end }}" role="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>
|
<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>
|
<header>
|
||||||
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}
|
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}
|
||||||
{{ if .Params.tags }}{{ partial "tags.html" . -}}{{ end }}
|
{{ if .Params.tags }}{{ partial "tags.html" . -}}{{ end }}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} list-view">
|
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}list-view">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
<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 }}
|
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
{{ define "main" -}}
|
{{ define "main" -}}
|
||||||
<main class="{{ if $.Param "sidebar" | default true }}layout-3col__left-content{{ else }}layout-3col__full{{ end }}" role="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 }}
|
{{ .Content }}
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue