From 2ed6eb81b9403ea8ff50ec7abf41b21f61ad4a64 Mon Sep 17 00:00:00 2001 From: dzello Date: Mon, 13 Aug 2018 23:55:34 +0200 Subject: [PATCH] Improve layout extension docs --- exampleSite/content/home/configuration.md | 6 +++++- exampleSite/layouts/partials/home/reveal-hugo/head.html | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/exampleSite/content/home/configuration.md b/exampleSite/content/home/configuration.md index 415e9a9..c1b8fef 100644 --- a/exampleSite/content/home/configuration.md +++ b/exampleSite/content/home/configuration.md @@ -93,7 +93,7 @@ Here is where partials go for different presentations and places on the page. --- -## Example customization +## Custom CSS Example In `home/reveal-hugo/head.html`: @@ -105,6 +105,10 @@ In `home/reveal-hugo/head.html`: ``` +--- + +## Custom JS Example + In `home/reveal-hugo/body.html`: ```html diff --git a/exampleSite/layouts/partials/home/reveal-hugo/head.html b/exampleSite/layouts/partials/home/reveal-hugo/head.html index 58b786e..5f50404 100644 --- a/exampleSite/layouts/partials/home/reveal-hugo/head.html +++ b/exampleSite/layouts/partials/home/reveal-hugo/head.html @@ -15,4 +15,7 @@ .reveal section pre > code { padding: 10px; } +.reveal table { + font-size: 0.65em; +}