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

30 lines
1.3 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">
2023-04-10 00:46:58 +02:00
<link rel="alternate" type="application/rss+xml" href="/atom.xml" title="tollyx.net">
2023-04-03 23:49:16 +02:00
{% if tag_slug -%}
2023-04-10 00:46:58 +02:00
<link rel="alternate" type="application/rss+xml" href="/tags/{{ tag_slug }}/atom.xml" title="tollyx.net: Posts tagged #{{ tag_slug }}">
2023-04-03 23:33:25 +02:00
{%- endif %}
2022-09-05 00:02:58 +02:00
<link rel="stylesheet" href="/static/site.css">
2023-04-03 23:33:25 +02:00
<link rel="icon" type="image/png" href="/static/avatar.png" />
<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 %}
2023-04-10 00:46:58 +02:00
<meta property="og:image" content="/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>