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 }}">
|
<link rel="canonical" href="{{ page.canonical_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page and page.meta and page.meta.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 %}
|
{% elif config.site_author %}
|
||||||
<meta name="author" content="{{ config.site_author }}">
|
<meta name="author" content="{{ config.site_author }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
<!-- Page author -->
|
<!-- Page author -->
|
||||||
{% if page and page.meta and page.meta.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 %}
|
{% elif config.site_author %}
|
||||||
<meta name="author" content="{{ config.site_author }}" />
|
<meta name="author" content="{{ config.site_author }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user