1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-19 06:06:54 +00:00

feat: add support for fediverse:creator meta tag (#2593)

This commit is contained in:
Jason Raveling
2025-11-17 00:19:16 -06:00
committed by GitHub
parent cecfc4237f
commit d2db439c16
2 changed files with 6 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ social:
# It will be displayed as the default author of the posts and the copyright owner in the Footer
name: your_full_name
email: example@domain.com # change to your email address
fediverse_handle: "@you@domain.com" # change to your fediverse handle or leave empty
links:
# The first element serves as the copyright owner's link
- https://twitter.com/username # change to your Twitter homepage

View File

@@ -50,6 +50,11 @@
{{ seo_tags }}
{%- if site.social.fediverse_handle %}
<!-- Fediverse handle/creator -->
<meta name="fediverse:creator" content="{{ site.social.fediverse_handle }}">
{% endif %}
<title>
{%- unless page.layout == 'home' -%}
{{ page.title | append: ' | ' }}