1
0
Fork 0
website/templates/partials/head.html

28 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2022-08-31 23:20:59 +02:00
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2024-04-21 14:13:18 +02:00
<link rel="alternate" type="application/rss+xml" href="{{base_url | safe}}atom.xml" title="{{ site_title }}">
2023-04-03 23:49:16 +02:00
{% if tag_slug -%}
2024-04-21 14:13:18 +02:00
<link rel="alternate" type="application/rss+xml" href="{{base_url | safe}}tags/{{ tag_slug }}/atom.xml" title="{{ site_title }}: Posts tagged #{{ tag_slug }}">
2023-04-03 23:33:25 +02:00
{%- endif %}
<link rel="stylesheet" href="{{base_url | safe}}static/site.css">
<link rel="icon" type="image/png" href="{{base_url | safe}}static/avatar.png" />
2023-04-03 23:33:25 +02:00
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@tollyx" />
<meta name="twitter:creator" content="@tollyx" />
<meta name="twitter:dnt" content="on">
2024-04-21 14:13:18 +02:00
<meta property="og:type" content="website">
<meta property="og:site_name" content="{{ site_title }}" />
<meta property="og:image" content="{{base_url | safe}}avatar.png" />
2023-03-25 21:38:16 +01:00
{% if page.title -%}
2024-04-21 14:13:18 +02:00
<meta property="og:title" content="{{ page.title }} - {{ site_title }}" />
<title>{{ page.title }} | {{ site_title }}</title>
{%- elif tag -%}
<meta property="og:title" content="#{{ tag.slug }} - {{ site_title }}" />
<title>#{{ tag.slug }} | {{ site_title }}</title>
2023-04-03 23:33:25 +02:00
{%- else -%}
2024-04-21 14:13:18 +02:00
<meta property="og:title" content="{{ site_title }}" />
<title>{{ site_title }}</title>
2023-04-03 23:33:25 +02:00
{%- endif %}
2022-08-31 23:20:59 +02:00
</head>