Files
HugoBlox-kit/layouts/section/talk.html
T
George Cushen a622c8d19f refactor(talk): rename date options in front matter
date, time_start, time_end renamed to publishDate, date, date_end,
respectively.

BREAKING CHANGES: Rename above 3 options in front matter of all talks.

Also, refactor the 404 page so that it just lists the latest 10 pages
overall. This is a more flexible approach than separately listing the
latest pages for only a few different types of content.

See #721
2019-02-27 21:48:16 +00:00

41 lines
934 B
HTML

{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
{{ 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 }}
{{ partial "li_card" . }}
{{ else }}
{{ partial "li_compact" . }}
{{ end }}
{{ end }}
</div>
</div>
{{ end }}
</div>
</div>
</div>
{{ partial "footer_container.html" . }}
{{ partial "footer.html" . }}