Render a partial that can be overridden to add content to the page

This commit is contained in:
dzello 2018-04-27 23:09:28 -07:00
parent 4e0d34413b
commit 25a113128f
3 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,7 @@ $ git clone git@github.com:dzello/reveal-hugo.git themes/reveal-hugo
$ cp -r themes/reveal-hugo/static/reveal static/reveal
$ cp themes/reveal-hugo/layouts/_default/*.reveal.html layouts/_default
$ cp themes/reveal-hugo/layouts/shortcodes/* layouts/shortcodes
$ cp themes/reveal-hugo/layouts/partials/* layouts/partials
```
Next, add the Reveal output format to your site's `config.toml` file

View File

@ -27,6 +27,7 @@
</head>
<body>
{{ block "main" . }}{{ end }}
{{ partial "reveal-hugo/body" . }}
<script src="{{ "reveal/lib/js/head.min.js" | relURL }}"></script>
<script src="{{ "reveal/js/reveal.js" | relURL }}"></script>
<script>

View File

@ -0,0 +1 @@
<!-- override this partial to add content after the slides -->