diff --git a/build.sh b/build.sh
deleted file mode 100755
index 1cb5ab5a..00000000
--- a/build.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-set -x
-
-rm -rf ./output_prod
-/usr/local/bin/sculpin generate --env=prod
-
-LOG=$(git log --oneline -n 1)
-
-rm -rf ./gh-pages-deployment/
-git clone git@github.com:opdavies/opdavies.github.io.git ./gh-pages-deployment/
-
-pushd ./gh-pages-deployment/
-
-git checkout -B master
-
-rsync --quiet --archive --filter="P .git*" --delete ../output_prod/ ./
-
-git add -A .
-git commit -m "${LOG}"
-git push origin master --force
-
-popd
\ No newline at end of file
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 00000000..8d04a2af
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+set -x
+
+ENV='prod'
+REPO='git@github.com:opdavies/opdavies.github.io.git'
+BRANCH='master'
+BUILD_DIR='./gh-pages-deployment/'
+
+rm -rf ./output_${ENV}
+sculpin generate --env=${ENV}
+
+LOG=$(git log --oneline -n 1)
+
+rm -rf ${BUILD_DIR}
+git clone ${REPO} ${BUILD_DIR}
+
+pushd ${BUILD_DIR}
+git checkout -B ${BRANCH}
+rsync --quiet --archive --filter="P .git*" --delete ../output_${ENV}/ ./
+git add -A .
+git commit -m "${LOG}"
+git push origin ${BRANCH} --force
+popd
\ No newline at end of file
diff --git a/source/404.html.twig b/source/404.html.twig
new file mode 100644
index 00000000..b4f147ec
--- /dev/null
+++ b/source/404.html.twig
@@ -0,0 +1,14 @@
+---
+layout: default
+title: Page Not Found
+permalink: /404.html
+---
+{% block content_wrapper %}
+
+ {% block content %}
+
Page Not Found
+ {% endblock %}
+ {# .col.md-12 #}
+{% endblock %}
+
+{% block sidebar %}{% endblock %}
\ No newline at end of file
diff --git a/source/company-information.md b/source/company-information.md
index 7cf583ec..a4c60e48 100644
--- a/source/company-information.md
+++ b/source/company-information.md
@@ -2,6 +2,8 @@
layout: default
title: Company Information
nav: company
+meta:
+ description: 'Company information for Oliver Davies Ltd.'
---
# Company Information
diff --git a/source/contact.md b/source/contact.md
index 50a719f1..c5d2a3bf 100644
--- a/source/contact.md
+++ b/source/contact.md
@@ -4,6 +4,8 @@ title: Contact
nav: contact
use:
- posts
+meta:
+ description: 'Information about how to get in touch with Oliver.'
---
# Contact
diff --git a/source/index.md b/source/index.md
index 7288df64..10c553f3 100644
--- a/source/index.md
+++ b/source/index.md
@@ -5,6 +5,8 @@ nav: about
front: true
use:
- posts
+meta:
+ description: 'The personal website and blog of Oliver Davies, a Drupal Developer and Systems Administrator from Wales, UK.'
---
# About
diff --git a/source/services.md b/source/services.md
index 659916d7..4bbad849 100644
--- a/source/services.md
+++ b/source/services.md
@@ -4,6 +4,8 @@ title: Services
nav: services
use:
- posts
+meta:
+ description: 'Information about freelance services that Oliver offers.'
---
# Services
diff --git a/source/talks.md b/source/talks.md
index ec8658a0..f930e16c 100644
--- a/source/talks.md
+++ b/source/talks.md
@@ -4,6 +4,8 @@ title: Talks
nav: talks
use:
- posts
+meta:
+ description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups.'
---
# Talks
diff --git a/source/themes/opdavies/opdavies/_layouts/default.html.twig b/source/themes/opdavies/opdavies/_layouts/default.html.twig
index 0e0af7b8..4d687280 100644
--- a/source/themes/opdavies/opdavies/_layouts/default.html.twig
+++ b/source/themes/opdavies/opdavies/_layouts/default.html.twig
@@ -4,7 +4,9 @@
-
+ {% if page.meta.description %}
+
+ {% endif %}
{% if (page.front == true) and (site.subtitle) %}{{ site.subtitle }}{% else %}{{ page.title }}{% endif %} | {{ site.title }}
diff --git a/source/work.md b/source/work.md
index b3481b5b..fd718a0a 100644
--- a/source/work.md
+++ b/source/work.md
@@ -4,6 +4,8 @@ title: Work
nav: work
use:
- posts
+meta:
+ description: "Information about Oliver's current work."
---
# Work