Shorter block syntax

This commit is contained in:
Oliver Davies 2015-07-09 13:52:59 +01:00 committed by Oliver Davies
parent bea2e0a7f4
commit 3f16ccc929
6 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{% extends 'default' %}
{% block body_classes %}page--blog page--blog__post{% endblock %}
{% block body_classes 'page--blog page--blog__post' %}
{% block content_wrapper %}
<main class="col-md-10">

View file

@ -4,7 +4,7 @@ title: Contact
meta:
description: 'Information about how to get in touch with Oliver.'
---
{% block body_classes %}page--contact{% endblock %}
{% block body_classes 'page--contact' %}
{% block content %}
# Contact

View file

@ -12,7 +12,7 @@ meta:
height: 327
type: image/jpg
---
{% block body_classes %}page--about{% endblock %}
{% block body_classes 'page--about' %}
{% block content %}
# About

View file

@ -4,7 +4,7 @@ title: Services
meta:
description: 'Information about freelance services that Oliver offers.'
---
{% block body_classes %}page--services{% endblock %}
{% block body_classes 'page--services' %}
{% block content %}
# Services

View file

@ -6,7 +6,7 @@ meta:
use:
- talks
---
{% block body_classes %}page--talks page--talks__list{% endblock %}
{% block body_classes 'page--talks page--talks__list' %}
{% block content %}
<h1>Talks</h1>

View file

@ -60,7 +60,7 @@ testimonials:
<p>Oliver is a skilled Drupal developer with a passion for the Drupal community. As his direct supervisor, I was able to watch Oliver grow with the Drupal Association and contribute an amazing amount of effort and integrity to all of his work.</p>
<p>Everything we have thrown at Oliver, he has approached with an open and flexible mind that has allowed him to work on a wide range of projects and features for Drupal products.</p>
---
{% block body_classes %}page--testimonials{% endblock %}
{% block body_classes 'page--testimonials' %}
{% block content %}
<h1>Testimonials</h1>