mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
parent
0c2c0da5b4
commit
8c7b2f3f90
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user