Verify Home Assistant Mastodon account (#24870)

This commit is contained in:
Franck Nijhof 2022-11-09 17:33:13 +01:00 committed by GitHub
parent 701cf2d7c4
commit a1b0e1c032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -104,6 +104,9 @@ social:
twitter:
account: home_assistant
mastodon:
account: "https://fosstodon.org/@homeassistant"
# Home Assistant release details
current_major_version: 2022
current_minor_version: 11

View File

@ -27,6 +27,7 @@
<meta name="twitter:title" content="{% if post.title %}{{ post.title }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
<meta name="twitter:description" content="{{ page.description | default: site.description | strip_html | truncate: 200 }}">
<meta name="twitter:image" content="{{ page.og_image | default: "/images/default-social.png" | prepend: site.url }}">
{% if site.social.mastodon.account %}<link rel="me" href="{{ site.social.mastodon.account }}">{% endif %}
<link href="{{ '/stylesheets/prism.css' | cache_buster }}" rel="stylesheet">
<link href="{{ '/stylesheets/screen.css' | cache_buster }}" media="screen, projection, print" rel="stylesheet">