Skip to content

Commit 7796c0f

Browse files
committed
posts -> slides
1 parent d6226bc commit 7796c0f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ slideNumber:
3737
# "none": dont't show slide numbers
3838
format: "c/t"
3939

40+
collections:
41+
slides:
42+
output: true
43+
4044
## Reveal.initialize
4145
## At the end of your page Jekyll initializes reveal by running the following code. Note that all config values are optional and will default as specified below.
4246
## Note that the new default vertical centering option will break compatibility with slides that were using transitions with backgrounds ("cube" and "page"). To restore the previous behavior, set "center" to "false".

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: presentation
33
---
44

5-
{% for post in site.posts reversed %}
5+
{% for post in site.slides %}
66
{% include slide.html %}
77
<div class="page-break"></div>
88
{% endfor %}

0 commit comments

Comments
 (0)