Martin/Geno
fd1895ccb4
fix gitlab pages
2019-01-30 19:30:18 +01:00
Martin/Geno
59975c5163
without cdn (and use gitmodules)
2018-12-07 02:16:34 +01:00
Martin/Geno
e8f2c3ddec
cleanup
2018-12-07 00:36:20 +01:00
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
9b47e50246
Add an end option for inserting HTML before end of .reveal
2018-10-09 02:25:07 +02:00
dzello
3d05cf68f0
Include a Reveal.js distribution in static and make it default
...
CDN can still be used via a configuration parameter. This way, development and presentation can be done locally with no network dependency.
2018-08-13 18:44:29 +02:00
dzello
b7e475d819
Bump Reveal.js version to 3.7.0
2018-08-13 18:21:46 +02:00
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
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
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
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
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
e6e2234960
Add a data attribute to show where section tag came from
2018-07-23 00:09:11 +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
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