Revert "Refactor page titles, fix podcast episode page"
This reverts commit 18305da0a6
.
This commit is contained in:
parent
92df9b43d6
commit
d79f08e05d
|
@ -25,15 +25,15 @@
|
|||
<meta name="description" content="{{ site.meta.description }}" />
|
||||
{% endif %}
|
||||
|
||||
{% set page_title = page.title %}
|
||||
{% if page.meta.title %}
|
||||
{% set page_title = page.meta.title %}
|
||||
{% elseif block('page_title') %}
|
||||
{% set page_title = block('page_title') %}
|
||||
<title>{{ page.meta.title }}</title>
|
||||
<meta property="og:title" content="{{ page.meta.title }}" />
|
||||
<meta property="twitter:title" content="{{ page.meta.title }}" />
|
||||
{% else %}
|
||||
<title>{{ page.title }} | {{ site.name }}</title>
|
||||
<meta property="og:title" content="{{ page.title }} | {{ site.name }}" />
|
||||
<meta property="twitter:title" content="{{ page.title }} | {{ site.name }}" />
|
||||
{% endif %}
|
||||
<title>{{ page_title }} | {{ site.name }}</title>
|
||||
<meta property="og:title" content="{{ page_title }} | {{ site.name }}" />
|
||||
<meta property="twitter:title" content="{{ page_title }} | {{ site.name }}" />
|
||||
</head>
|
||||
<body>
|
||||
{% block body %}{% endblock %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: Do you need a certified Drupal expert, core contributor and module maintainer?
|
||||
permalink: /
|
||||
meta:
|
||||
title: '%site.slogan%'
|
||||
title: '%site.slogan% | %site.name%'
|
||||
---
|
||||
|
||||
{% block meta_title %}Certified Drupal expert, Developer and Consultant | {{ site.name }}{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue