styles: main
This commit is contained in:
parent
88c9777c62
commit
2a4d7b6955
|
@ -6,7 +6,7 @@
|
||||||
{{ partial "header.html" . -}}
|
{{ partial "header.html" . -}}
|
||||||
<div class="d:flex flex:column@<=sm pt:90 px:32 jc:center gap:44">
|
<div class="d:flex flex:column@<=sm pt:90 px:32 jc:center gap:44">
|
||||||
{{- block "side" . }}{{- end }}
|
{{- block "side" . }}{{- end }}
|
||||||
<div class="max-w:700 box:content-box">
|
<div class="max-w:700 w:700 box:content-box">
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end }}
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,2 +1,16 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
<div class="d:flex flex:col">
|
||||||
|
{{- partial "prose.html" . -}}
|
||||||
|
|
||||||
|
<h2 class="my:1em">Post</h2>
|
||||||
|
|
||||||
|
{{- range where site.RegularPages "Type" "in" site.Params.mainSections -}}
|
||||||
|
|
||||||
|
{{- partial "li.html" ( dict
|
||||||
|
"url" .Permalink
|
||||||
|
"title" .Title
|
||||||
|
"subTitle" (.Date | time.Format (":date_medium"))
|
||||||
|
) -}}
|
||||||
|
{{- end -}}
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
Loading…
Reference in New Issue