Commit graph

29 commits

Author SHA1 Message Date
dzello
52eec0fd6a Improve logic for detecting whether shortcode has content inside 2018-07-22 11:50:06 +02:00
dzello
f8a8c06266 Whitespace stripping to make generated HTML more readable 2018-07-22 10:54:47 +02:00
dzello
836c449d0c Add "content" attribute to slide shortcode
Points to a data template where markdown is contained. Makes it easy to reuse slides.
2018-07-21 10:53:55 +02:00
dzello
ee2a2268cb Footnote markup shouldn't be interpreted as new slides
Addresses #4
2018-07-13 00:21:48 +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
99b4363c90 transition-speed param and example cleanup 2018-04-30 23:02:09 -07:00
dzello
f7427d4631 Add shortcodes for customizing slides, markdown, HTML 2018-04-30 18:47:20 -07:00
dzello
05130b7ce6 Add note shortcode 2018-04-30 16:24:00 -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
67a64c121d Add the frag shortcode 2018-04-30 12:09:27 -07:00
dzello
54ed796610 Add a shortcode for adding vertical sections 2018-04-30 01:01:10 -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
dc44a78f9c Use home folder for default presentation
Add an example presentation for a section
2018-04-26 22:26:49 -07:00
dzello
cf355d22d8 Add second argument to union for section list layout 2018-04-26 22:16:27 -07:00
dzello
90807c2d09 Avoid building the /reveal content a second time 2018-04-26 22:13:19 -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
dzello
71f9d035ec Initial commit 2018-04-26 15:25:43 -07:00