Shorter block syntax
This commit is contained in:
parent
68373e1797
commit
b80e3a7c97
|
@ -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">
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -12,7 +12,7 @@ meta:
|
|||
height: 327
|
||||
type: image/jpg
|
||||
---
|
||||
{% block body_classes %}page--about{% endblock %}
|
||||
{% block body_classes 'page--about' %}
|
||||
|
||||
{% block content %}
|
||||
# About
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in a new issue