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
|
|
@ -1,9 +1,9 @@
|
|||
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} full-view">
|
||||
<header>
|
||||
<h2 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||
<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 }}
|
||||
</header>
|
||||
<div>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Reference in a new issue