From 50587f5b228415e42cddd40ccd20e91b0e73cceb Mon Sep 17 00:00:00 2001 From: Mani Kumar Date: Sat, 23 Dec 2023 12:52:04 +0530 Subject: [PATCH] fix: [slides] Add header section to slides layout Add header section with title, date, author and description to slides layout. --- layouts/slides/single.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/layouts/slides/single.html b/layouts/slides/single.html index be50a2a..e39cf6b 100644 --- a/layouts/slides/single.html +++ b/layouts/slides/single.html @@ -11,6 +11,35 @@ +
+ {{- if .Title }} +

{{ .Title | markdownify }}

+ {{- end }} + + {{- if or (.Params.Date) (.Params.Author) }} + + {{- end }} + + {{- with .Params.Description }} +

{{ . }}

+ {{- end }} +
+