Skip to content

Commit d2db439

Browse files
feat: add support for fediverse:creator meta tag (#2593)
1 parent cecfc42 commit d2db439

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ social:
3636
# It will be displayed as the default author of the posts and the copyright owner in the Footer
3737
name: your_full_name
3838
email: [email protected] # change to your email address
39+
fediverse_handle: "@[email protected]" # change to your fediverse handle or leave empty
3940
links:
4041
# The first element serves as the copyright owner's link
4142
- https://twitter.com/username # change to your Twitter homepage

_includes/head.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050

5151
{{ seo_tags }}
5252

53+
{%- if site.social.fediverse_handle %}
54+
<!-- Fediverse handle/creator -->
55+
<meta name="fediverse:creator" content="{{ site.social.fediverse_handle }}">
56+
{% endif %}
57+
5358
<title>
5459
{%- unless page.layout == 'home' -%}
5560
{{ page.title | append: ' | ' }}

0 commit comments

Comments
 (0)