From f99646e95b9fb1f1fcdefe0fcc5d426380fe8487 Mon Sep 17 00:00:00 2001 From: zzossig Date: Fri, 14 Feb 2020 00:39:47 +0900 Subject: [PATCH] better support talks header --- layouts/talks/list.html | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/layouts/talks/list.html b/layouts/talks/list.html index 093e20d..6dbc4e8 100644 --- a/layouts/talks/list.html +++ b/layouts/talks/list.html @@ -5,20 +5,15 @@

{{ .Title }}

- {{ if not .Params.subtitle }} -
+
{{ .Content }}
- {{ end }}
- {{ if .Params.subtitle }} -
- {{ .Content }} -
-

- {{ .Params.subtitle }} -

+ {{ with .Params.subtitle }} +
+ {{ . }} +
{{ end }}
{{ $pages := (where .Site.RegularPages "Section" "talks") }}