gil.ink/src/_includes/head/meta.njk

11 lines
820 B
Plaintext

<meta charset="UTF-8" >
<meta name="viewport" content="width=device-width">
<meta name="generator" content="{{ eleventy.generator }}">
<title>{{ title or metaTitle | safe }}{% if title !== meta.name %} • {{ meta.name }}{% endif %}</title>
<meta property="og:title" content="{{ title or metaTitle | safe }}{% if title !== meta.name %} • {{ meta.name }}{% endif %}">
<meta name="author" content="{{ meta.author }}">
<meta name="description" content="{% if excerpt %}{{ excerpt }}{% else %}{{ meta.description }}{% endif %}">
<meta property="og:description" content="{% if excerpt %}{{ excerpt }}{% else %}{{ meta.description }}{% endif %}">
<meta property="og:type" content="article">
<meta property="og:url" content="https://gil.ink{{ page.url }}">
<meta name="fediverse:creator" content="{{ meta.fediverseAuthor }}">