Skip to content

Commit

Permalink
add fediferse creator
Browse files Browse the repository at this point in the history
  • Loading branch information
aloxe committed Dec 29, 2024
1 parent 7cf471d commit 9d86ec0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/_data/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Huwindty enhanced template using 11ty.",
"language": "en",
"author": {
"name": "Alix Guillard"
"name": "Alix Guillard",
"fediverse": "@[email protected]"
},
"media_folder": "src/static/img",
"public_folder": "/img"
Expand Down
4 changes: 2 additions & 2 deletions src/_layouts/includes/head.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
<meta name="author" content="{{ meta.author.name }}" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="title" content="{{ title }}">
<meta name="description" content="{{ description }}">
<link rel="icon" type="image/png" href="{{ '/favicon.ico' }}" />
<link rel="manifest" href="{{ '/manifest.json' }}" />

Expand All @@ -14,6 +12,7 @@
<title>
{{ title or meta.title }}
</title>
<meta name="description" content="{{ description }}">
{% if page.fileSlug === "404" %}{% else %}
<meta itemprop="name" content="{{ title }}">
<meta itemprop="description" content="{{ description }}">
Expand All @@ -26,6 +25,7 @@
<meta property="og:locale" content="{{ meta.language }}">
{# <meta property="og:image" content="{{ meta.url }}{% getOGImageUri page, image %}"> #}

<meta name="fediverse:creator" content="{{ meta.author.fediverse }}" />
<meta name="twitter:title" content="{{ title }}">
<meta name="twitter:description" content="{{ description }}">
{# <meta name="twitter:image:src" content="{{ meta.url }}{% getOGImageUri page, image %}"> #}
Expand Down

0 comments on commit 9d86ec0

Please sign in to comment.