Shorter block syntax
This commit is contained in:
parent
68373e1797
commit
b80e3a7c97
|
@ -1,6 +1,6 @@
|
||||||
{% extends 'default' %}
|
{% extends 'default' %}
|
||||||
|
|
||||||
{% block body_classes %}page--blog page--blog__post{% endblock %}
|
{% block body_classes 'page--blog page--blog__post' %}
|
||||||
|
|
||||||
{% block content_wrapper %}
|
{% block content_wrapper %}
|
||||||
<main class="col-md-10">
|
<main class="col-md-10">
|
||||||
|
|
|
@ -4,7 +4,7 @@ title: Contact
|
||||||
meta:
|
meta:
|
||||||
description: 'Information about how to get in touch with Oliver.'
|
description: 'Information about how to get in touch with Oliver.'
|
||||||
---
|
---
|
||||||
{% block body_classes %}page--contact{% endblock %}
|
{% block body_classes 'page--contact' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
# Contact
|
# Contact
|
||||||
|
|
|
@ -12,7 +12,7 @@ meta:
|
||||||
height: 327
|
height: 327
|
||||||
type: image/jpg
|
type: image/jpg
|
||||||
---
|
---
|
||||||
{% block body_classes %}page--about{% endblock %}
|
{% block body_classes 'page--about' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
# About
|
# About
|
||||||
|
|
|
@ -4,7 +4,7 @@ title: Services
|
||||||
meta:
|
meta:
|
||||||
description: 'Information about freelance services that Oliver offers.'
|
description: 'Information about freelance services that Oliver offers.'
|
||||||
---
|
---
|
||||||
{% block body_classes %}page--services{% endblock %}
|
{% block body_classes 'page--services' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
# Services
|
# Services
|
||||||
|
|
|
@ -6,7 +6,7 @@ meta:
|
||||||
use:
|
use:
|
||||||
- talks
|
- talks
|
||||||
---
|
---
|
||||||
{% block body_classes %}page--talks page--talks__list{% endblock %}
|
{% block body_classes 'page--talks page--talks__list' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Talks</h1>
|
<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>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>
|
<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 %}
|
{% block content %}
|
||||||
<h1>Testimonials</h1>
|
<h1>Testimonials</h1>
|
||||||
|
|
Reference in a new issue