Pass playground title to template

This commit is contained in:
James Stuckey Weber 2023-05-31 10:25:14 -04:00
parent baf5bb4689
commit afc5caf8ce
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
alt="Sass"
src="/assets/img/logos/logo.svg"></a>
</p>
<h2 class="sl-l-grid__column">Playground</h2>
<h2 class="sl-l-grid__column">{{ title }}</h2>
<!-- Placeholder for click to copy -->
<div class="sl-l-grid__column" />
</div>

View File

@ -72,7 +72,7 @@
{%- endif -%}
</h1>
{% elsif is_playground %}
{% render 'playground_header' %}
{% render 'playground_header', title: title %}
{% endunless %}
<div class="sl-l-container sl-color--white-background{% unless is_home %} sl-l-section{% endunless %}{% if is_playground %} sl-l-section-playground{% endif %}">