fix: override front page meta title
This commit is contained in:
parent
97ff6af158
commit
793d8bab1c
|
@ -3,6 +3,8 @@ title: Oliver Davies - UK-based Lead Software Developer, PHP and Drupal speciali
|
|||
permalink: /
|
||||
is_front: true
|
||||
exclude_from_sitemap: true
|
||||
meta:
|
||||
title: Lead Drupal and PHP Software Developer | Oliver Davies
|
||||
---
|
||||
|
||||
<div class="markdown" markdown="1">
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
{% set pageTitle = [page.title, '-', site.name]|join(' ') %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.meta.title %}
|
||||
{% set pageTitle = page.meta.title %}
|
||||
{% endif %}
|
||||
|
||||
{% set metaDescription = site.description %}
|
||||
{% if page.meta.description %}
|
||||
{% set metaDescription = page.meta.description|e('html') %}
|
||||
|
|
Loading…
Reference in a new issue