Move all layouts to platters theme
This commit is contained in:
parent
de8101efed
commit
66adceaf24
91 changed files with 0 additions and 0 deletions
31
themes/platters/layouts/_default/term.html
Normal file
31
themes/platters/layouts/_default/term.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
{{ define "header" }}
|
||||
{{ partial "header.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
</header>
|
||||
|
||||
{{ partial "ruby_controls.html" . }}
|
||||
|
||||
{{- $hasContent := false -}}
|
||||
{{ with .Content }}
|
||||
{{- $hasContent = true -}}
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.posts | default true }}
|
||||
{{ if $hasContent }}
|
||||
<h2>Posts</h2>
|
||||
{{ end }}
|
||||
|
||||
{{- range .Pages -}}
|
||||
{{ .Render "li_grid_with_date" }}
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "footer" }}
|
||||
{{ partial "footer.html" . }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue