Commit graph

24 commits

Author SHA1 Message Date
dzello
216135e004 Presentations can add their own HTML to the layout
This will be the recommended way to add custom CSS and JS on a per-presentation basis. Global layout extensions remain the same.
2018-08-13 17:41:06 +02:00
dzello
f6a1568da1 Use $.Param and default function for cleaning config reading 2018-08-07 18:02:47 +02:00
dzello
51623a07af Remove need for a data file in the theme
This removes an extra step in params lookup and works around a bug in Hugo introduced after 0.37 that causes theme data files not to be found in certain circumstances.
2018-08-07 17:43:24 +02:00
Simon Bruder
f70433763c
make cdn urls customizable 2018-08-07 13:18:19 +00:00
dzello
aa464f40ac Add comments to explain use of head and body partials 2018-08-03 12:04:46 +01:00
dzello
f8a8c06266 Whitespace stripping to make generated HTML more readable 2018-07-22 10:54:47 +02:00
dzello
56be3a2a42 Avoid null Hugo defaults breaking JS initialization 2018-07-03 00:12:32 +02:00
dzello
5d9c1a94bb Use page description if there is one 2018-05-15 19:05:35 -07:00
dzello
0e960c90e3 Add custom theme support and the dzello theme 2018-05-01 01:46:00 -07:00
dzello
7024169277 Store Reveal params in snakecase and convert 2018-05-01 00:26:56 -07:00
dzello
80f0c3ee33 Put slides partial into reveal-hugo dir 2018-04-30 23:19:04 -07:00
dzello
f7427d4631 Add shortcodes for customizing slides, markdown, HTML 2018-04-30 18:47:20 -07:00
dzello
a2fc650ec8 Use CDN for assets instead of local
Much more friendly for merging into an existing Hugo site
2018-04-30 15:48:40 -07:00
dzello
13d0faf629 Add hook to put content at end of head and body
All Reveal params to be configured at default, site and page levels
2018-04-30 13:19:22 -07:00
dzello
9ba8adc268 Add more customization 2018-04-30 12:58:55 -07:00
dzello
25a113128f Render a partial that can be overridden to add content to the page 2018-04-27 23:09:28 -07:00
dzello
4e0d34413b Reveal should be an outputFormat
Now any Hugo section can be configured to generate a presentation without altering its type, and the theme is more easily copied into existing sites without conflicting with any preexisting layouts.
2018-04-27 22:56:09 -07:00
dzello
229cf01d2a Let section presentations use a different theme 2018-04-26 22:48:25 -07:00
dzello
cf355d22d8 Add second argument to union for section list layout 2018-04-26 22:16:27 -07:00
dzello
e269f00670 Incorporate content from section _index.md files 2018-04-26 22:11:04 -07:00
dzello
32944bcad2 Be consistent with usage of leading slash 2018-04-26 21:45:57 -07:00
dzello
0e79c0d110 Add a layout for creating a presentation from a section 2018-04-26 16:36:13 -07:00
dzello
5f724be7bd Display page title if available 2018-04-26 16:34:29 -07:00
dzello
10fcf53bcf Use a baseof template for better organization 2018-04-26 16:20:41 -07:00