Added talk.html.twig
This commit is contained in:
parent
fa36a2f61c
commit
9ab6f68877
|
@ -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
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?
|
||||
location: unified.diff
|
||||
nav: talks
|
||||
---
|
||||
An introduction to [Drupal](https://www.drupal.org).
|
|
@ -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.
|
|
@ -10,4 +10,5 @@ tags:
|
|||
meta:
|
||||
description:
|
||||
slug: git-flow
|
||||
nav: talks
|
||||
---
|
||||
|
|
|
@ -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.
|
|
@ -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.
|
|
@ -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
|
||||
---
|
||||
|
|
|
@ -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
|
||||
---
|
||||
|
|
|
@ -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
|
||||
---
|
||||
|
|
|
@ -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 %}
|
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 %}
|
Reference in a new issue