From f3355351bb9b0ead20c1a6bde142388bc737fd77 Mon Sep 17 00:00:00 2001 From: Sherman K Date: Wed, 17 Oct 2018 11:40:02 -0400 Subject: [PATCH] Add section about partials in Hugo --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3fd7494..fcd82f2 100644 --- a/README.md +++ b/README.md @@ -355,6 +355,16 @@ If you need to add something to the HTML layout, you can create partials that li This is the recommended way to add custom CSS and JavaScript to each presentation. +> 💡 Tip: In Hugo, partials live in the `layouts` folder: +> +> For example, if you have HTML that is to be placed before every presentation, this would be the structure: +> ``` +> - layouts +> - partials +> - reveal-hugo +> - head.html +> - body.html + ## Recipes ### Add a Reveal.js presentation to an existing Hugo site