Use page description if there is one
This commit is contained in:
parent
7f1924882a
commit
5d9c1a94bb
|
@ -1,5 +1,6 @@
|
||||||
+++
|
+++
|
||||||
title = "reveal-hugo features and usage"
|
title = "reveal-hugo"
|
||||||
|
description = "A Hugo theme for creating Reveal.js presentations"
|
||||||
outputs = ["Reveal"]
|
outputs = ["Reveal"]
|
||||||
[reveal_hugo]
|
[reveal_hugo]
|
||||||
custom_theme = "themes/dzello.css"
|
custom_theme = "themes/dzello.css"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>{{ or .Page.Title .Site.Title }}</title>
|
<title>{{ or .Page.Title .Site.Title }}</title>
|
||||||
<meta name="description" content="{{ .Site.Params.Description }}">
|
<meta name="description" content="{{ or .Page.Params.Description .Site.Params.Description }}">
|
||||||
<meta name="author" content="{{ .Site.Author.name }}">
|
<meta name="author" content="{{ .Site.Author.name }}">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
camelize(revealHugoPageParams),
|
camelize(revealHugoPageParams),
|
||||||
revealHugoDependencies);
|
revealHugoDependencies);
|
||||||
Reveal.initialize(options);
|
Reveal.initialize(options);
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{{ partial "reveal-hugo/body" . }}
|
{{ partial "reveal-hugo/body" . }}
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue