Added front page meta description
This commit is contained in:
parent
df20acd448
commit
08638373c8
|
@ -1,3 +1,4 @@
|
||||||
title: Oliver Davies
|
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
|
url: http://localhost:8000
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
layout: default
|
layout: default
|
||||||
title: About Oliver
|
title: About Oliver
|
||||||
nav: about
|
nav: about
|
||||||
|
front: true
|
||||||
---
|
---
|
||||||
# About
|
# About
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,9 @@
|
||||||
<html lang="en" class="no-js">
|
<html lang="en" class="no-js">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="description" content="{{ page.description }}">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<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') }}">
|
<link rel="stylesheet" href="{{ site.url }}/{{ theme_path('assets/css/styles.css') }}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Reference in a new issue