Implemented tags partial, wrap dates in time tag with datatime attribute. Added class content to content. Add title classes.
This commit is contained in:
parent
c6473f72a1
commit
f1f3cb4dd5
1 changed files with 7 additions and 6 deletions
|
|
@ -4,12 +4,13 @@
|
|||
|
||||
{{ define "main" -}}
|
||||
<main class="{{ if $.Param "sidebar" | default true }}layout-3col__left-content{{ else }}layout-3col__full{{ end }}" role="main">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<h1 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}">{{ .Title }}</h1>
|
||||
<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 }}
|
||||
</header>
|
||||
<div>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Reference in a new issue