styles: main
This commit is contained in:
parent
88c9777c62
commit
2a4d7b6955
|
@ -6,7 +6,7 @@
|
|||
{{ partial "header.html" . -}}
|
||||
<div class="d:flex flex:column@<=sm pt:90 px:32 jc:center gap:44">
|
||||
{{- block "side" . }}{{- end }}
|
||||
<div class="max-w:700 box:content-box">
|
||||
<div class="max-w:700 w:700 box:content-box">
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
</div>
|
||||
|
|
|
@ -1,2 +1,16 @@
|
|||
{{ 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 }}
|
Loading…
Reference in New Issue