From 5d9c1a94bbed8cb55ecb829152261b0f10ba9c63 Mon Sep 17 00:00:00 2001 From: dzello Date: Tue, 15 May 2018 19:05:35 -0700 Subject: [PATCH] Use page description if there is one --- exampleSite/content/_index.md | 3 ++- layouts/_default/baseof.reveal.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index c9b04f7..e11f79b 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -1,5 +1,6 @@ +++ -title = "reveal-hugo features and usage" +title = "reveal-hugo" +description = "A Hugo theme for creating Reveal.js presentations" outputs = ["Reveal"] [reveal_hugo] custom_theme = "themes/dzello.css" diff --git a/layouts/_default/baseof.reveal.html b/layouts/_default/baseof.reveal.html index d9b6a32..9a9471a 100644 --- a/layouts/_default/baseof.reveal.html +++ b/layouts/_default/baseof.reveal.html @@ -5,7 +5,7 @@ {{ or .Page.Title .Site.Title }} - + @@ -81,7 +81,7 @@ camelize(revealHugoPageParams), revealHugoDependencies); Reveal.initialize(options); - + {{ partial "reveal-hugo/body" . }}