mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-21 07:03:44 +00:00
feat: add support for fediverse:creator meta tag (#2593)
This commit is contained in:
@@ -36,6 +36,7 @@ social:
|
|||||||
# It will be displayed as the default author of the posts and the copyright owner in the Footer
|
# It will be displayed as the default author of the posts and the copyright owner in the Footer
|
||||||
name: your_full_name
|
name: your_full_name
|
||||||
email: example@domain.com # change to your email address
|
email: example@domain.com # change to your email address
|
||||||
|
fediverse_handle: "@you@domain.com" # change to your fediverse handle or leave empty
|
||||||
links:
|
links:
|
||||||
# The first element serves as the copyright owner's link
|
# The first element serves as the copyright owner's link
|
||||||
- https://twitter.com/username # change to your Twitter homepage
|
- https://twitter.com/username # change to your Twitter homepage
|
||||||
|
|||||||
@@ -50,6 +50,11 @@
|
|||||||
|
|
||||||
{{ seo_tags }}
|
{{ seo_tags }}
|
||||||
|
|
||||||
|
{%- if site.social.fediverse_handle %}
|
||||||
|
<!-- Fediverse handle/creator -->
|
||||||
|
<meta name="fediverse:creator" content="{{ site.social.fediverse_handle }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
{%- unless page.layout == 'home' -%}
|
{%- unless page.layout == 'home' -%}
|
||||||
{{ page.title | append: ' | ' }}
|
{{ page.title | append: ' | ' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user