Commit Graph

12 Commits

Author SHA1 Message Date
dzello cc282afdb7 Improve handling of templates, fix issue with Hugo 0.5.0
Removes wrapping the template maps in an extra slice
2018-11-08 23:53:40 +00:00
dzello 37fcc0c158 Clean up slide shortcode
Fixes a bug outputting junk into the HTML tag as a result of Scratch calls and avoid reprocessing a section that only need to be processed once
2018-08-07 18:27:19 +02:00
dzello 6f7767a751 Make the slide shortcode easier to use 2018-08-03 15:07:12 +01:00
dzello db6d875a3f Don't try to add templates from section for _index.md
Causes a strange segfault otherwise
2018-07-23 01:36:26 +02:00
dzello bf4801d37b Document usage of class slide attribute and don't pfx it 2018-07-23 00:49:48 +02:00
dzello 8b76bd9182 Add support for slide templates 2018-07-23 00:43:30 +02:00
dzello 3e34fe3bc9 Pass through all slide shortcode params to section
Now slides can have ids and arbitrary data attributes, and a whitelist of valid attributes no longer needs to be maintained.
2018-07-22 18:25:48 +02:00
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 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