Added talk.html.twig

This commit is contained in:
Oliver Davies 2015-04-10 23:25:52 +01:00
parent fa36a2f61c
commit 9ab6f68877
12 changed files with 27 additions and 16 deletions

View file

@ -16,7 +16,6 @@ sculpin_content_types:
- tags
enabled: false
talks:
layout: default
permalink: talks/:year/:month/:day/:slug_title/
taxonomies:
- tags

10
publish.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
SERVER_NAME="root@212.111.40.238"
DOCROOT="/var/www/html/oliverdavies.co.uk/htdocs"
sculpin generate --env=prod
if [ $? -ne 0 ]; then echo "Could not generate the site"; exit 1; fi
rsync -avze 'ssh' --delete output_prod/ ${SERVER_NAME}:${DOCROOT}
if [ $? -ne 0 ]; then echo "Could not publish the site"; exit 1; fi

View file

@ -1,5 +1,6 @@
---
title: So, what is this Drupal thing?
location: unified.diff
nav: talks
---
An introduction to [Drupal](https://www.drupal.org).

View file

@ -7,5 +7,6 @@ tags:
- ldap
meta:
description: 'Integrating Drupal with LDAP.'
nav: talks
---
An overview of the [Drupal LDAP module](https://www.drupal.org/project/ldap) and how I integrated and customised it for a client project.

View file

@ -10,4 +10,5 @@ tags:
meta:
description:
slug: git-flow
nav: talks
---

View file

@ -9,5 +9,6 @@ tags:
- drush-make
meta:
description: 'An introduction to Drush and Drush Make.'
nav: talks
---
An introduction to Drush and Drush Make.

View file

@ -8,5 +8,6 @@ tags:
meta:
description: "An impromptu talk about the Drupal Association and I've done there since joining the team."
slug: drupal-association
nav: talks
---
An impromptu talk about the [Drupal Association](https://assoc.drupal.org) and I've done there since joining the team.

View file

@ -10,4 +10,5 @@ tags:
meta:
description: 'Everything that you wanted to know about Drupal 8 in ten minutes, but were afraid to ask!'
slug: drupalorg-2015
nav: talks
---

View file

@ -10,4 +10,5 @@ tags:
meta:
description: 'Everything that you wanted to know about Drupal 8 in ten minutes, but were afraid to ask!'
slug: drupalorg-2015
nav: talks
---

View file

@ -11,4 +11,5 @@ tags:
meta:
description: 'Everything that you wanted to know about Drupal 8 in ten minutes, but were afraid to ask!'
slug: drupal-8
nav: talks
---

View file

@ -39,18 +39,4 @@ use:
{% endfor %}
{% if found %}
</dl>
{% endif %}
=======
use:
- talks
---
<h1>Talks</h1>
<dl>
{% for talk in data.talks %}
<dt>{{ talk.date|date('F Y') }} - {{ talk.location|raw }}</dt>
<dd><a href="{{ site.url }}{{ talk.url }}">{{ talk.title }}</a></dd>
{% endfor %}
</dl>
>>>>>>> Replaced talks.md with talks.html.twig
{% endif %}

View file

@ -0,0 +1,8 @@
{% extends 'default' %}
{% block content_wrapper %}
<div class="col-md-9">
<h1>{{ page.title }}</h1>
{% block content %}{% endblock %}
</div>{# .col-md-9 #}
{% endblock %}