diff --git a/_config.yml b/_config.yml index 998aaae3..0ae023ed 100755 --- a/_config.yml +++ b/_config.yml @@ -4,6 +4,10 @@ future: false # Restore default behavior of Jekyll overridden by https:/ timezone: America/Los_Angeles markdown: kramdown highlighter: rouge +liquid: + error_mode: strict + strict_filters: true + strict_variables: true # Allowed plugins: https://pages.github.com/versions/ plugins: &plugins @@ -36,14 +40,23 @@ collections: permalink: /sponsors/:path defaults: + - scope: { path: "" } + values: + body_id: null # Workaround for Shopify/liquid#1034 + description: null # Workaround for Shopify/liquid#1034 + nav: null # Workaround for Shopify/liquid#1034 - scope: { type: archive-conferences } values: layout: archive/conference nav: archive + subtitle: null # Workaround for Shopify/liquid#1034 - scope: { type: archive-sessions } values: layout: archive/session nav: archive + keynote: null # Workaround for Shopify/liquid#1034 + presenters: null # Workaround for Shopify/liquid#1034 + resources: null # Workaround for Shopify/liquid#1034 - scope: { type: sponsor-years } values: body_id: sponsors diff --git a/_layouts/archive/conference.html b/_layouts/archive/conference.html index 687a2e43..0039b657 100644 --- a/_layouts/archive/conference.html +++ b/_layouts/archive/conference.html @@ -9,7 +9,7 @@ | where_exp: 'session', 'session.relative_path contains path_prefix' | sort: 'beginning' | group_by_exp: 'session', 'session.beginning | date: "%A"' %} -{% assign posts = site.tags[year] | where: 'categories','news' | reverse %} +{% if site.tags contains year %}{% assign posts = site.tags[year] | where: 'categories','news' | reverse %}{% else %}{% assign posts = empty %}{% endif %}