1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 10:00:52 +01:00

Removed first filter from meta name content (#1407)

Fixes #1324
This commit is contained in:
Benjamin Staneck 2019-12-25 09:15:18 +01:00 committed by Martin Donath
parent 0c2c0da5b4
commit 8c7b2f3f90
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
<link rel="canonical" href="{{ page.canonical_url }}">
{% endif %}
{% if page and page.meta and page.meta.author %}
<meta name="author" content="{{ page.meta.author | first }}">
<meta name="author" content="{{ page.meta.author }}">
{% elif config.site_author %}
<meta name="author" content="{{ config.site_author }}">
{% endif %}

View File

@ -67,7 +67,7 @@
<!-- Page author -->
{% if page and page.meta and page.meta.author %}
<meta name="author" content="{{ page.meta.author | first }}" />
<meta name="author" content="{{ page.meta.author }}" />
{% elif config.site_author %}
<meta name="author" content="{{ config.site_author }}" />
{% endif %}