Skip to content

Commit 96dfcc2

Browse files
committed
Add future: true to _config.yml to allow for future events
1 parent 06e6ddc commit 96dfcc2

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

_config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ permalink: pretty
44
title: 'PATh'
55
url: "https://path-cc.io"
66
key: path
7+
future: true
78

89
google_analytics_id: G-0CCSDQV212
910
homepage:
@@ -77,11 +78,11 @@ defaults:
7778
layout: news
7879
bodyClass: page-news-single
7980
- scope:
80-
type: events_legacy
81+
type: events_legacy # Legacy events use the `events` layout for compatibility
8182
values:
8283
layout: events
8384
- scope:
84-
type: events
85+
type: events # New events use the `events_modern` layout
8586
values:
8687
layout: events_modern
8788
- scope:

_layouts/events_modern.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
{{ content }}
1111
</div>
1212

13-
{{ if page.sidebar }}
13+
{% if page.sidebar %}
1414
<div class="subsection col-12 col-md-4 order-2 order-md-2">
1515
{{ page.sidebar | markdownify }}
1616
</div>
17-
{{ endif }}
17+
{% endif %}
1818

19-
{{ if page.endblock }}
19+
{% if page.endblock %}
2020
<div class="col-12">
2121
{{ page.endblock | markdownify }}
2222
</div>
23-
{{ endif }}
23+
{% endif %}
2424
</div>
2525
</div>

0 commit comments

Comments
 (0)