mirror of
https://github.com/danog/sass-site.git
synced 2024-11-26 20:14:53 +01:00
Pass playground title to template
This commit is contained in:
parent
baf5bb4689
commit
afc5caf8ce
@ -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>
|
||||
|
@ -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 %}">
|
||||
|
Loading…
Reference in New Issue
Block a user