Added talk.html.twig
This commit is contained in:
parent
fa36a2f61c
commit
9ab6f68877
|
@ -16,7 +16,6 @@ sculpin_content_types:
|
||||||
- tags
|
- tags
|
||||||
enabled: false
|
enabled: false
|
||||||
talks:
|
talks:
|
||||||
layout: default
|
|
||||||
permalink: talks/:year/:month/:day/:slug_title/
|
permalink: talks/:year/:month/:day/:slug_title/
|
||||||
taxonomies:
|
taxonomies:
|
||||||
- tags
|
- tags
|
||||||
|
|
10
publish.sh
Executable file
10
publish.sh
Executable 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
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: So, what is this Drupal thing?
|
title: So, what is this Drupal thing?
|
||||||
location: unified.diff
|
location: unified.diff
|
||||||
|
nav: talks
|
||||||
---
|
---
|
||||||
An introduction to [Drupal](https://www.drupal.org).
|
An introduction to [Drupal](https://www.drupal.org).
|
|
@ -7,5 +7,6 @@ tags:
|
||||||
- ldap
|
- ldap
|
||||||
meta:
|
meta:
|
||||||
description: 'Integrating Drupal with LDAP.'
|
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.
|
An overview of the [Drupal LDAP module](https://www.drupal.org/project/ldap) and how I integrated and customised it for a client project.
|
|
@ -10,4 +10,5 @@ tags:
|
||||||
meta:
|
meta:
|
||||||
description:
|
description:
|
||||||
slug: git-flow
|
slug: git-flow
|
||||||
|
nav: talks
|
||||||
---
|
---
|
||||||
|
|
|
@ -9,5 +9,6 @@ tags:
|
||||||
- drush-make
|
- drush-make
|
||||||
meta:
|
meta:
|
||||||
description: 'An introduction to Drush and Drush Make.'
|
description: 'An introduction to Drush and Drush Make.'
|
||||||
|
nav: talks
|
||||||
---
|
---
|
||||||
An introduction to Drush and Drush Make.
|
An introduction to Drush and Drush Make.
|
|
@ -8,5 +8,6 @@ tags:
|
||||||
meta:
|
meta:
|
||||||
description: "An impromptu talk about the Drupal Association and I've done there since joining the team."
|
description: "An impromptu talk about the Drupal Association and I've done there since joining the team."
|
||||||
slug: drupal-association
|
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.
|
An impromptu talk about the [Drupal Association](https://assoc.drupal.org) and I've done there since joining the team.
|
|
@ -10,4 +10,5 @@ tags:
|
||||||
meta:
|
meta:
|
||||||
description: 'Everything that you wanted to know about Drupal 8 in ten minutes, but were afraid to ask!'
|
description: 'Everything that you wanted to know about Drupal 8 in ten minutes, but were afraid to ask!'
|
||||||
slug: drupalorg-2015
|
slug: drupalorg-2015
|
||||||
|
nav: talks
|
||||||
---
|
---
|
||||||
|
|
|
@ -10,4 +10,5 @@ tags:
|
||||||
meta:
|
meta:
|
||||||
description: 'Everything that you wanted to know about Drupal 8 in ten minutes, but were afraid to ask!'
|
description: 'Everything that you wanted to know about Drupal 8 in ten minutes, but were afraid to ask!'
|
||||||
slug: drupalorg-2015
|
slug: drupalorg-2015
|
||||||
|
nav: talks
|
||||||
---
|
---
|
||||||
|
|
|
@ -11,4 +11,5 @@ tags:
|
||||||
meta:
|
meta:
|
||||||
description: 'Everything that you wanted to know about Drupal 8 in ten minutes, but were afraid to ask!'
|
description: 'Everything that you wanted to know about Drupal 8 in ten minutes, but were afraid to ask!'
|
||||||
slug: drupal-8
|
slug: drupal-8
|
||||||
|
nav: talks
|
||||||
---
|
---
|
||||||
|
|
|
@ -40,17 +40,3 @@ use:
|
||||||
{% if found %}
|
{% if found %}
|
||||||
</dl>
|
</dl>
|
||||||
{% endif %}
|
{% 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
|
|
||||||
|
|
8
source/themes/opdavies/opdavies/_layouts/talk.html.twig
Normal file
8
source/themes/opdavies/opdavies/_layouts/talk.html.twig
Normal 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 %}
|
Loading…
Reference in a new issue