diff --git a/_config.yml b/_config.yml index 9693eaf2..4ab298be 100755 --- a/_config.yml +++ b/_config.yml @@ -4,6 +4,10 @@ future: false # Workaround for SeaGL/seagl.github.io#170 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 diff --git a/_includes/header.html b/_includes/header.html index bf6c7030..913236e2 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,3 +1,6 @@ +{% comment %} Workaround for https://github.com/Shopify/liquid/issues/1034 {% endcomment %} +{% assign nav = nil %}{% if page contains "nav" %}{% assign nav = page.nav %}{% endif %} + {% assign sponsor_year = site.sponsor-years | last %} diff --git a/_layouts/archive/conference.html b/_layouts/archive/conference.html index b6133238..c204a15b 100644 --- a/_layouts/archive/conference.html +++ b/_layouts/archive/conference.html @@ -34,14 +34,14 @@

{{ day.name }}

{{ session.title }} - {% if session.keynote %} + {% if session contains 'keynote' and session.keynote %} Keynote {% endif %}
{% for presenter in session.presenters %}
- {{ presenter.name }}{% if presenter.affiliation %}, {{ presenter.affiliation }}{% endif %} + {{ presenter.name }}{% if presenter contains 'affiliation' %}, {{ presenter.affiliation }}{% endif %}
{% endfor %} diff --git a/_layouts/archive/session.html b/_layouts/archive/session.html index b7ac48ae..8ea273c0 100644 --- a/_layouts/archive/session.html +++ b/_layouts/archive/session.html @@ -8,7 +8,7 @@
{% if session.resources %} - {% if session.resources.internet_archive_identifier %} + {% if session.resources contains 'internet_archive_identifier' %}
@@ -19,7 +19,7 @@ If you value their service, please consider thanking them with a small donation.
- {% elsif session.resources.youtube_id %} + {% elsif session.resources contains 'youtube_id' %}
@@ -41,7 +41,7 @@

{{ session.title }}

- {% if session.keynote %} + {% if session contains 'keynote' and session.keynote %} Keynote {% endif %}

@@ -50,7 +50,7 @@

{{ session.title }}

- {% if session.presenters %} + {% if session contains 'presenters' %}

Presenters

{% for presenter in session.presenters %} @@ -59,32 +59,32 @@

Presenters

{{ presenter.name }}
-

{{ presenter.name }}{% if presenter.pronouns %} ({{ presenter.pronouns }}){% endif %}{% if presenter.affiliation %}, {{ presenter.affiliation }}{% endif %}

+

{{ presenter.name }}{% if presenter contains 'pronouns' %} ({{ presenter.pronouns }}){% endif %}{% if presenter contains 'affiliation' %}, {{ presenter.affiliation }}{% endif %}

{{ presenter.biography | markdownify }}
{% endfor %} {% endif %} - {% if session.resources %} + {% if session contains resources %}

Resources

    - {% if session.resources.resources_url %} + {% if session.resources contains 'resources_url' %}
  • Resources
  • {% endif %} - {% if session.resources.slides_url %} + {% if session.resources contains 'slides_url' %}
  • Slides
  • {% endif %} - {% if session.resources.internet_archive_identifier %} + {% if session.resources contains 'internet_archive_identifier' %}
  • Video Recording
  • - {% elsif session.resources.youtube_id %} + {% elsif session.resources contains 'youtube_id' %}
  • Video Recording
  • {% endif %} - {% if session.resources.audio_url %} + {% if session.resources contains 'audio_url' %}
  • Audio Recording
  • {% endif %}
diff --git a/_layouts/base.html b/_layouts/base.html index 3ef4910a..ff1983c6 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -5,7 +5,7 @@ - {% if page.description %}{% endif %} + {% if page contains "description" %}{% endif %} @@ -29,13 +29,13 @@ - {% if page.title %}{{ page.title }} | {% endif %}Seattle GNU/Linux Conference + {{ page.title }}{% unless page.title contains site.name %} | {{ site.name }}{% endunless %} - + {{ content }} diff --git a/_layouts/post.html b/_layouts/post.html index d9ff73ef..a066fc43 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -13,13 +13,13 @@
- {% if page.previous.url %} + {% if page.previous %} {% endif %}
- {% if page.next.url %} + {% if page.next %} {% endif %}
diff --git a/_layouts/sponsors.html b/_layouts/sponsors.html index 125438d2..d3e99ffb 100644 --- a/_layouts/sponsors.html +++ b/_layouts/sponsors.html @@ -34,10 +34,10 @@

{{ level[1] }}

{% for sponsor in sponsors %} {% for sponsorship in sponsor.sponsorships %} {% if sponsorship[0] == year and sponsorship[1] == level[0] %} - - {% if sponsor.logo.horizontal %} +

SeaGL {{ year }}

- {% if conference.subtitle %} + {% if conference contains 'subtitle' %}
{{ conference.subtitle }}
{% endif %}
diff --git a/index.md b/index.md index 618134a2..30ed5fd4 100644 --- a/index.md +++ b/index.md @@ -2,6 +2,7 @@ layout: page nav: home body_id: home +title: Seattle GNU/Linux Conference description: SeaGL is a grassroots technical conference dedicated to spreading awareness and knowledge about the GNU/Linux community and free/libre/open-source software/hardware. --- diff --git a/meet.md b/meet.md index 441d6f07..de55b566 100644 --- a/meet.md +++ b/meet.md @@ -2,6 +2,7 @@ layout: page redirect_from: - /chat +title: Community Chat ---