Added front page meta description

This commit is contained in:
Oliver Davies 2015-03-20 11:27:02 +00:00
parent df20acd448
commit 08638373c8
3 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,4 @@
title: Oliver Davies
description: Drupal & Linux Specialist
subtitle: Drupal & Linux Specialist
description: Personal website and blog of Oliver Davies, a Drupal Developer and Systems Administrator based in the UK.
url: http://localhost:8000

View file

@ -2,6 +2,7 @@
layout: default
title: About Oliver
nav: about
front: true
---
# About

View file

@ -2,10 +2,9 @@
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta name="description" content="{{ page.description }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if (page.url == '/') and (site.description) %}{{ site.description }}{% else %}{{ page.title }}{% endif %} | {{ site.title }}</title>
<meta name="description" content="{% if page.front == true %}{{ site.description }}{% else %}{{ page.description }}{% endif %}">
<title>{% if (page.front == true) and (site.subtitle) %}{{ site.subtitle }}{% else %}{{ page.title }}{% endif %} | {{ site.title }}</title>
<link rel="stylesheet" href="{{ site.url }}/{{ theme_path('assets/css/styles.css') }}">
</head>
<body>