tmp-gitea/templates/head.html

53 lines
2.5 KiB
HTML
Raw Permalink Normal View History

2022-10-30 14:04:10 +05:30
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{% block title %}{{ title }} - {{ headline }} {% endblock title %}</title>
<meta property="og:title" content="{{ description }}" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="{{ description}}" />
<meta property="og:description" content="{{ description}}" />
<link rel="canonical" href="{{ config.base_url }}" />
<meta property="og:url" content="{{ config.base_url }}" />
<meta property="og:site_name" content="{{ title }}" />
<meta property="og:image" content="/logo.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:image" content="/logo.png" />
<meta property="twitter:title" content="{{ title }}" />
<script type="application/ld+json">
{
"description": "{{ description }}",
"url": "{{ config.base_url }}",
"@type": "WebSite",
"image": "/logo.png",
"headline": "{{ headline }}",
"name": "{{ title }}",
"@context": "https://schema.org"
}
</script>
<link rel="stylesheet" href="{{ get_url(path="main.css", trailing_slash=false)
}}">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png" />
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/android-icon-192x192.png"
/>
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/manifest.json" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png" />
<meta name="theme-color" content="#ffffff" />
</head>