Commit Graph

113 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 1f99371394 Remove trailing whitespace from exampleSite slide 2018-08-13 17:40:43 +02:00
dzello 209ff907b5 Rename and improve section example 2018-08-13 16:45:40 +02: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 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
dzello 31dca11944 Document ability to change CDN urls 2018-08-07 17:33:19 +02:00
dzello 8bc6de9d53 Fix domain name in Netlify redirects file 2018-08-07 17:12:48 +02:00
dzello 31aa2fe206 Bump Hugo version for Netlify deployment 2018-08-07 17:12:13 +02:00
Josh Dzielak 9dbc309792
Merge pull request #5 from sbruder/master
Make CDN URLs customizable
2018-08-07 17:11:34 +02:00
Simon Bruder f70433763c
make cdn urls customizable 2018-08-07 13:18:19 +00:00
dzello 86820452f0 Refactor slides code to avoid duplication 2018-08-06 19:29:30 +01:00
dzello eb6f921b36 Better illustrate slide shortcode customizations 2018-08-03 15:32:50 +01:00
dzello e3387153e6 Remove potentially confusing link from README 2018-08-03 15:19:27 +01:00
dzello 6f7767a751 Make the slide shortcode easier to use 2018-08-03 15:07:12 +01:00
dzello aa464f40ac Add comments to explain use of head and body partials 2018-08-03 12:04:46 +01:00
dzello 3bd0dbabe9 Make order of precedence clearer for slide templates 2018-07-23 10:49:05 +02: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 77d38e4f34 Document slide templates in the exampleSite presentation 2018-07-23 00:44:05 +02:00
dzello 8b76bd9182 Add support for slide templates 2018-07-23 00:43:30 +02:00
dzello e6e2234960 Add a data attribute to show where section tag came from 2018-07-23 00:09:11 +02:00
dzello 15bdf36520 Swap out the word scrolling 2018-07-22 19:14:22 +02:00
dzello 5760a51eaf Link the down arrow emoji to the next slide down 2018-07-22 19:13:39 +02:00
dzello e1e706bb5e Scroll is misleading 2018-07-22 19:04:19 +02:00
dzello dff011156e Add final slide with link back to the beginning 2018-07-22 18:59:36 +02:00
dzello b1bf995acd Add big list of Reveal.js slide attributes to the docs 2018-07-22 18:42:27 +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 27e0dc2aa0 Add shortcodes to the README 2018-07-22 17:13:06 +02:00
dzello b9d502335b Mention to use closing or self-closing tags for slide shortcode 2018-07-22 11:50:50 +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 e0c548e404 Update exampleSite to show slide shortcode content attribute 2018-07-21 10:55:03 +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 c70aa5811e Redirect from Netlify domain to dzello domain 2018-07-19 16:57:51 +02:00
dzello ed873481d9 Bundle robot-lung and sunblind themes 2018-07-19 16:49:57 +02:00
dzello faadedd499 Improve exampleSite presentation
Better flow and more information

Plus... emoji!
2018-07-19 16:49:24 +02:00
dzello ad403c9682 Add favicon to example presentation 2018-07-19 16:45:05 +02:00
dzello aa490b115a Add analytics for exampleSite 2018-07-19 15:10:55 +02:00
dzello a910cd7eb4 Change homepage of the theme
Using a subdomain so that I can deploy the exampleSite directly instead of having to serve it from underneath that site that lives at dzello.com
2018-07-17 17:08:16 +02:00
Josh Dzielak 1521654c1e
Change URL for where exampleSite is hosted 2018-07-17 17:07:38 +02:00
dzello 6752bb7475 Swap in robot-lung Reveal.js theme 2018-07-17 11:46:12 +02:00
Josh Dzielak 0a6b9d0071
Link to programming-quotes + Forestry.io blog post 2018-07-14 23:04:03 +02:00
dzello ee2a2268cb Footnote markup shouldn't be interpreted as new slides
Addresses #4
2018-07-13 00:21:48 +02:00
Josh Dzielak da2ff896de
Add more favorite Reveal.js tools 2018-07-10 14:24:40 +02:00
Josh Dzielak f26b1764f7
Add example of root and section organization
Per [#3](https://github.com/dzello/reveal-hugo/issues/3) this wasn't that clear. Thanks @pganssle!
2018-07-03 20:23:51 +02:00
dzello 56be3a2a42 Avoid null Hugo defaults breaking JS initialization 2018-07-03 00:12:32 +02:00
dzello e79f999528 Simply commands to run the example site
Works around #4851
2018-07-03 00:00:56 +02:00
Josh Dzielak 78a10ec2cb
Use submodule instead of clone for theme in example 2018-06-20 16:43:23 +02:00
Josh Dzielak f44678a566 Update from Forestry.io - Updated Forestry configuration 2018-06-19 08:46:58 +00:00