Update head title
This commit is contained in:
parent
f1e81336a4
commit
8f5163e6bf
|
@ -1,5 +1,5 @@
|
||||||
title: 'Oliver Davies'
|
title: Oliver Davies
|
||||||
subtitle: 'Web Developer, System Administrator - PHP, Drupal, Symfony, Linux'
|
subtitle: Full Stack Web Developer (Drupal, Symfony, Laravel, Linux)
|
||||||
description: 'Oliver Davies, Drupal Developer'
|
description: 'Oliver Davies, Drupal Developer'
|
||||||
default_date_format: 'jS F, Y'
|
default_date_format: 'jS F, Y'
|
||||||
fuzzy_date_format: F Y
|
fuzzy_date_format: F Y
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
<head>
|
<head>
|
||||||
<title>{% if page.url == '/.' %}{{ site.subtitle }} | {{ site.title }}{% else %}{{ page.title }} | {{ site.title }}{% endif %}</title>
|
<title>
|
||||||
|
{% if page.title is defined and page.url != '/.' %}
|
||||||
|
{{ page.title }} |
|
||||||
|
{% endif %}
|
||||||
|
{{ site.title }} - {{ site.subtitle }}
|
||||||
|
</title>
|
||||||
|
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
@ -11,8 +16,9 @@
|
||||||
|
|
||||||
{% include 'og' with { og: page.meta.og } %}
|
{% include 'og' with { og: page.meta.og } %}
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ site.url }}/build/css/site.css">
|
{% block stylesheets %}
|
||||||
{% block stylesheets '' %}
|
<link rel="stylesheet" href="{{ site.url }}/build/css/site.css">
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% for size in site.apple_touch_icon_sizes %}
|
{% for size in site.apple_touch_icon_sizes %}
|
||||||
<link rel="apple-touch-icon" href="{{ site.favicon.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
|
<link rel="apple-touch-icon" href="{{ site.favicon.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
|
||||||
|
|
Loading…
Reference in a new issue