_layouts/speaker.html in jekyll-theme-conference-2.5.0 vs _layouts/speaker.html in jekyll-theme-conference-2.5.1

- old
+ new

@@ -1,8 +1,9 @@ -{% include partials/header.html %} +{%- assign speaker = page -%} - {% assign speaker = page %} +{%- unless speaker.hide -%} + {%- include partials/header.html -%} <p class="h6"> {{ site.data.lang[site.conference.lang].speaker.title | default: "Speaker" }} </p> @@ -102,6 +103,7 @@ <i class="fas fa-users"></i> {{ site.data.lang[site.conference.lang].overview | default: "Overview" }} </a> </p> -{% include partials/footer.html %} + {%- include partials/footer.html -%} +{%- endunless -%}