From 300609571456ae0edc5631ee72c22a379538d923 Mon Sep 17 00:00:00 2001 From: Sherman K Date: Wed, 17 Oct 2018 11:42:31 -0400 Subject: [PATCH] Add use of `end.html` partial for custom HTML --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fcd82f2..2303e26 100644 --- a/README.md +++ b/README.md @@ -347,11 +347,11 @@ reveal_hugo.custom_theme = "assets/custom-theme.css" If you need to add something to the HTML layout, you can create partials that live at specific locations, depending on which presentation you want to customize and where you want the HTML inserted into the page. -| Presentation | Before </head> | Before </body> | -|--------------|---------------------------------|---------------------------------| -| All | reveal-hugo/head.html | reveal-hugo/body.html | -| Root | home/reveal-hugo/head.html | home/reveal-hugo/body.html | -| Section | {section}/reveal-hugo/head.html | {section}/reveal-hugo/body.html | +| Presentation | Before </head> | Before </body> | Before closing </div> of `div.reveal` | +|--------------|---------------------------------|---------------------------------|---------------------------------------------| +| All | reveal-hugo/head.html | reveal-hugo/body.html | reveal-hugo/end.html | +| Root | home/reveal-hugo/head.html | home/reveal-hugo/body.html | home/reveal-hugo/end.html | +| Section | {section}/reveal-hugo/head.html | {section}/reveal-hugo/body.html | {section}/reveal-hugo/end.html | This is the recommended way to add custom CSS and JavaScript to each presentation. @@ -364,6 +364,7 @@ This is the recommended way to add custom CSS and JavaScript to each presentatio > - reveal-hugo > - head.html > - body.html +> - end.html ## Recipes