Merge pull request #165 from szpak/talksSubtitle2

Ability to display well formatter longer description in talks page
This commit is contained in:
zzossig 2020-02-13 22:33:27 +09:00 committed by GitHub
commit 9bb9fc999e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -5,11 +5,21 @@
<h3 class="h3 terms__title">
{{ .Title }}
</h3>
{{ if not .Params.subtitle }}
<div>
{{ .Content }}
</div>
{{ end }}
</header>
<main class="main archive">
{{ if .Params.subtitle }}
<div class="archive__content">
{{ .Content }}
</div>
<h4 class="archive__subtitle">
{{ .Params.subtitle }}
</h4>
{{ end }}
<div class="archive__container">
{{ $pages := (where .Site.RegularPages "Section" "talks") }}
{{ $paginator := .Paginate ($pages.GroupByPublishDate ($.Param "talksGroupByDate" | default "2006")) ($.Param "talksPaginate") }}