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 }}" />
|
<meta name="description" content="{{ site.meta.description }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% set page_title = page.title %}
|
|
||||||
{% if page.meta.title %}
|
{% if page.meta.title %}
|
||||||
{% set page_title = page.meta.title %}
|
<title>{{ page.meta.title }}</title>
|
||||||
{% elseif block('page_title') %}
|
<meta property="og:title" content="{{ page.meta.title }}" />
|
||||||
{% set page_title = block('page_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 %}
|
{% 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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% block body %}{% endblock %}
|
{% block body %}{% endblock %}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: Do you need a certified Drupal expert, core contributor and module maintainer?
|
title: Do you need a certified Drupal expert, core contributor and module maintainer?
|
||||||
permalink: /
|
permalink: /
|
||||||
meta:
|
meta:
|
||||||
title: '%site.slogan%'
|
title: '%site.slogan% | %site.name%'
|
||||||
---
|
---
|
||||||
|
|
||||||
{% block meta_title %}Certified Drupal expert, Developer and Consultant | {{ site.name }}{% endblock %}
|
{% block meta_title %}Certified Drupal expert, Developer and Consultant | {{ site.name }}{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue