portfolios_exemple2/themes/academia-hugo/layouts/section/talk.html

42 lines
911 B
HTML
Raw Permalink Normal View History

2021-12-31 12:44:26 +01:00
{{- define "main" -}}
{{ partial "page_header.html" . }}
<div class="universal-wrapper">
<div class="row">
<div class="col-lg-12">
{{ with .Content }}
<div class="article-style" itemprop="articleBody">{{ . }}</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 }}
<div class="col-lg-4 col-md-6 mb-4">
{{ partial "li_card" . }}
</div>
{{ else }}
{{ partial "li_compact" . }}
{{ end }}
{{ end }}
</div>
</div>
{{ end }}
</div>
</div>
</div>
{{- end -}}