Remove body_classes block

This commit is contained in:
Oliver Davies 2015-09-10 02:49:32 +01:00
parent f2b0352481
commit 7b0f15bfe8
9 changed files with 104 additions and 132 deletions

View file

@ -8,9 +8,6 @@ pagination:
use:
- posts
---
{% block body_classes %}page--blog page--blog__list{% endblock %}
{% block content %}
<h1>Blog</h1>
<ul class="posts">
@ -39,4 +36,3 @@ use:
{% endif %}
</nav>
{% endif %}
{% endblock content %}

View file

@ -5,9 +5,6 @@ title: Contact
meta:
description: 'Information about how to get in touch with Oliver.'
---
{% block body_classes 'page--contact' %}
{% block content %}
# Contact
The best ways to contact me is via <a href="mailto:{{ site.email }}?subject=Contact%20Oliver%20Davies">email</a> and
@ -29,4 +26,3 @@ Here are some other places to find me online:
* <a href="{{ site.speakerdeck.url }}">Speaker Deck</a>
* <a href="{{ site.ansible_galaxy.url }}">Ansible Galaxy</a>
* <a href="{{ site.flickr.url }}">Flickr</a>
{% endblock %}

View file

@ -5,9 +5,6 @@ title: Experience
meta:
description: 'Information about freelance services that Oliver offers.'
---
{% block body_classes 'page--experience' %}
{% block content %}
# Experience
## PHP
@ -50,4 +47,3 @@ meta:
* Continuous integration using [Jenkins](http://jenkins-ci.org).
* Virtual machine setup using [Vagrant](http://vagrantup.com) for development or server testing.
* Domain name and DNS management.
{% endblock %}

View file

@ -12,9 +12,6 @@ meta:
height: 327
type: image/jpg
---
{% block body_classes 'page--about' %}
{% block content %}
# About
<img src="{{ site.gravatar.url }}?s=100" alt="Picture of Oliver" class="img-circle">
@ -36,4 +33,3 @@ I maintain several contrib projects on Drupal.org, and have contributed to numer
I'm also the [Git Documentation Maintainer](https://www.drupal.org/node/2248627#comment-8887789) for the Drupal project, and a provisional member of the [Drupal Security team](https://www.drupal.org/security-team).
I organise Drupal user group events such as talk nights and code sprints in <a href="{{ site.meetups.swdug.url }}">South Wales</a> and <a href="{{ site.meetups.drupalbristol.url }}">Bristol</a>, and am a founding [DrupalCamp Bristol](http://2015.drupalcampbristol.co.uk) organising committee member. I also regularly attend and speak at other meetups and conferences related to Drupal, PHP, Linux, DevOps, and web development and accessibility.
{% endblock %}

View file

@ -19,9 +19,6 @@ meta:
# - { date: 2015-11-01, location: Unified Diff, title: Building Static Websites with Sculpin, fuzzy_date: true }
use: [talks]
---
{% block body_classes 'page--talks page--talks__list' %}
{% block content %}
<h1>Talks</h1>
<p>I regularly speak at conferences and user groups about a range of subjects including Drupal, Sculpin and Git. If
@ -92,4 +89,3 @@ use: [talks]
{% if found %}
</ul>
{% endif %}
{% endblock %}

View file

@ -79,9 +79,6 @@ testimonials:
<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' %}
{% block content %}
<h1>Testimonials</h1>
<p>Here are some examples of the nice things that clients and former colleagues have said.</p>
<p>You can view more recommendations on my <a href="{{ site.linkedin.url }}">LinkedIn profile</a>.</p>
@ -106,4 +103,3 @@ testimonials:
{{ testimonial.text|raw }}
</article>
{% endfor %}
{% endblock %}

View file

@ -29,7 +29,7 @@
<link rel="icon" href="{{ site.gravatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %}
</head>
<body class="{% block body_classes %}{% endblock %}">
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">

View file

@ -1,6 +1,4 @@
{% extends 'default' %}
{% block body_classes 'page--blog page--blog__post' %}
{% extends 'default.html.twig' %}
{% block content_wrapper %}
<main class="col-md-9">

View file

@ -1,7 +1,5 @@
{% extends 'default.html.twig' %}
{% block body_classes 'page--talks page--talks__talk' %}
{% block content_wrapper %}
<main class="col-md-9">
<h1>{{ page.title }}</h1>