From b80e3a7c979b87972fbf7ae2d54ed7aeb87ff773 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 9 Jul 2015 13:52:59 +0100 Subject: [PATCH] Shorter block syntax --- source/_layouts/post.html | 2 +- source/contact.md | 2 +- source/index.md | 2 +- source/services.md | 2 +- source/talks.html | 2 +- source/testimonials.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/_layouts/post.html b/source/_layouts/post.html index e8c03766..9dfb864f 100644 --- a/source/_layouts/post.html +++ b/source/_layouts/post.html @@ -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 %}
diff --git a/source/contact.md b/source/contact.md index 7a6b6f16..a6e5d8e7 100644 --- a/source/contact.md +++ b/source/contact.md @@ -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 diff --git a/source/index.md b/source/index.md index edf4955f..1018a646 100644 --- a/source/index.md +++ b/source/index.md @@ -12,7 +12,7 @@ meta: height: 327 type: image/jpg --- -{% block body_classes %}page--about{% endblock %} +{% block body_classes 'page--about' %} {% block content %} # About diff --git a/source/services.md b/source/services.md index 691c38a1..015e28af 100644 --- a/source/services.md +++ b/source/services.md @@ -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 diff --git a/source/talks.html b/source/talks.html index 6b3f010b..7aa883f3 100644 --- a/source/talks.html +++ b/source/talks.html @@ -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 %}

Talks

diff --git a/source/testimonials.html b/source/testimonials.html index 3ccbcf7f..d454ed61 100644 --- a/source/testimonials.html +++ b/source/testimonials.html @@ -60,7 +60,7 @@ testimonials:

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.

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.

--- -{% block body_classes %}page--testimonials{% endblock %} +{% block body_classes 'page--testimonials' %} {% block content %}

Testimonials