Implement new layout dir structure.
This commit is contained in:
parent
c94e3a7022
commit
83530eb11a
1 changed files with 1 additions and 1 deletions
|
|
@ -1,17 +0,0 @@
|
|||
{{ define "main" -}}
|
||||
<main class="main layout__main">
|
||||
<article class="single-view{{ with .Section }} single-view--{{ . | urlize }}{{ end }}">
|
||||
<header>
|
||||
<h1 class="title{{ if $.Param "submitted" | default false }} mb--xxs{{ end }}">{{ .Title }}</h1>
|
||||
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . }}{{ end -}}
|
||||
{{ if .Params.tags }}{{ partial "tags.html" . }}{{ end -}}
|
||||
</header>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ if ne .Lastmod .Date }}{{ partial "dates.html" . }}{{ end -}}
|
||||
{{ if site.Params.repository | default false }}{{ partial "repository-links.html" . }}{{ end -}}
|
||||
{{ if $.Param "relatedposts" | default false }}{{ partial "relatedposts.html" . }}{{ end -}}
|
||||
</article>
|
||||
</main>
|
||||
{{ end -}}
|
||||
Loading…
Reference in a new issue