diff --git a/layouts/talks/list.html b/layouts/talks/list.html index b674147..0101698 100644 --- a/layouts/talks/list.html +++ b/layouts/talks/list.html @@ -22,7 +22,12 @@ {{ .PublishDate.Format (i18n "talks-dateformat") }} - {{ .Title }} + {{ if .Params.disableLink }} +
{{ .Title }}
+ {{ else }} + {{ $talkLink := (.Params.externalLink | default .Permalink) }} + {{ .Title }} + {{ end }} {{ end }} @@ -35,4 +40,4 @@ {{ partial "script/archive-script" . }} -{{ end }} \ No newline at end of file +{{ end }}