Render a partial that can be overridden to add content to the page
This commit is contained in:
parent
4e0d34413b
commit
25a113128f
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<!-- override this partial to add content after the slides -->
|
Loading…
Reference in New Issue