From fcdd7a97c7ee4f3f6e70944ca7cc4fa25662171f Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 10 Apr 2015 08:10:35 +0100 Subject: [PATCH 1/3] Changed meta description --- source/themes/opdavies/opdavies/_layouts/default.html.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }} From 109fb8225f008ac5ed74c459786565b287c8654c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 10 Apr 2015 08:24:06 +0100 Subject: [PATCH 2/3] Added meta descriptions --- source/contact.md | 2 ++ source/index.md | 2 ++ source/services.md | 2 ++ source/talks.md | 2 ++ source/work.md | 2 ++ 5 files changed, 10 insertions(+) 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/work.md b/source/work.md index ea994921..6bac007a 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 From 7af5119c60a3e72a6cf537e66cc95477017a4deb Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 10 Apr 2015 08:33:55 +0100 Subject: [PATCH 3/3] Added meta description for company information --- source/company-information.md | 2 ++ 1 file changed, 2 insertions(+) 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