This commit is contained in:
Johan Cwiklinski 2021-11-09 18:28:16 -08:00 committed by GitHub
commit 268c715681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@ If for some reason, you don't want the plugin to output `<title>` tags on each p
```
<!-- {% endraw %} -->
This will remove output for `<title>`, `<meta property="og:title"/>` and `<meta property="twitter:title"/>`; you can define each of them on your side if needed.
### Author information
Author information is used to propagate the `creator` field of Twitter summary cards. This should be an author-specific, not site-wide Twitter handle (the site-wide username be stored as `site.twitter.username`).

View File

@ -5,7 +5,7 @@
<meta name="generator" content="Jekyll v{{ jekyll.version }}" />
{% if seo_tag.page_title %}
{% if seo_tag.page_title and seo_tag.title? %}
<meta property="og:title" content="{{ seo_tag.page_title }}" />
{% endif %}
@ -61,7 +61,7 @@
<meta name="twitter:card" content="summary" />
{% endif %}
{% if seo_tag.page_title %}
{% if seo_tag.page_title and seo_tag.title? %}
<meta property="twitter:title" content="{{ seo_tag.page_title }}" />
{% endif %}