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

30 lines
1.4 KiB
HTML
Raw 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">
<link rel="alternate" type="application/rss+xml" href="{{base_url | safe}}atom.xml" title="tollyx.net">
2023-04-03 23:49:16 +02:00
{% if tag_slug -%}
<link rel="alternate" type="application/rss+xml" href="{{base_url | safe}}tags/{{ tag_slug }}/atom.xml" title="tollyx.net: 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 property="og:type" content="website">
<meta property="og:site_name" content="tollyx.net" />
{% if page -%}
<meta property="og:title" content="{{ page.title }} - tollyx.net" />
{%- elif tag -%}
<meta property="og:title" content="#{{ tag.slug }} - tollyx.net" />
{%- else -%}
<meta property="og:title" content="tollyx.net" />
{%- endif %}
<meta property="og:image" content="{{base_url | safe}}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">
2023-03-25 21:38:16 +01:00
{% if page.title -%}
2023-04-10 00:46:58 +02:00
<title>{{ page.title }} | tollyx.net</title>
2023-04-03 23:33:25 +02:00
{%- else -%}
2023-04-10 00:46:58 +02:00
<title>tollyx.net</title>
2023-04-03 23:33:25 +02:00
{%- endif %}
2022-08-31 23:20:59 +02:00
</head>