Fixed author in metadata only showing first character

This commit is contained in:
squidfunk 2019-12-23 19:54:01 +01:00
parent 581d7c017c
commit bd712ca794
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

@ -66,7 +66,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 %}