mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-11-22 22:31:32 +00:00
40 lines
816 B
HTML
40 lines
816 B
HTML
|
{{- define "main" -}}
|
||
|
|
||
|
{{ partial "page_header.html" . }}
|
||
|
|
||
|
<div class="universal-wrapper">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12">
|
||
|
|
||
|
{{ with .Content }}
|
||
|
<div class="article-style">{{ . }}</div>
|
||
|
{{ end }}
|
||
|
|
||
|
{{ range .Data.Pages.GroupByDate "2006" }}
|
||
|
<div class="row" id="talk_list">
|
||
|
<div class="col-lg-2">
|
||
|
<h3>{{ .Key }}</h3>
|
||
|
</div>
|
||
|
<div class="col-lg-10">
|
||
|
|
||
|
{{ range .Pages }}
|
||
|
{{ if eq $.Params.view 1 }}
|
||
|
{{ partial "li_list" . }}
|
||
|
{{ else if eq $.Params.view 3 }}
|
||
|
{{ partial "li_card" . }}
|
||
|
{{ else }}
|
||
|
{{ partial "li_compact" . }}
|
||
|
{{ end }}
|
||
|
{{ end }}
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
{{- end -}}
|