summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/templates/includes/layout/head.html')
-rw-r--r--python/templates/includes/layout/head.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/python/templates/includes/layout/head.html b/python/templates/includes/layout/head.html
new file mode 100644
index 0000000..d8ed708
--- /dev/null
+++ b/python/templates/includes/layout/head.html
@@ -0,0 +1,25 @@
+<head>
+ <title>{% if page.title %}{{ page.title }} – {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
+ {% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
+ <meta charset="utf-8">
+ <meta name="theme-color" content="#54487a">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta property="og:title" content="{% if page.title %}{{ page.title }} – {{ site.title }}{% else %}{{ site.title }}{% endif %}">
+ <meta property="og:image" content="https://www.gentoo.org/assets/img/logo/gentoo-g.png">
+ <meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
+ <meta name="twitter:image" content="https://www.gentoo.org/assets/img/logo/gentoo-g.png">
+ <link rel="apple-touch-icon" href="https://www.gentoo.org/assets/img/logo/icon-192.png">
+ <link rel="icon" sizes="192x192" href="https://www.gentoo.org/assets/img/logo/icon-192.png">
+ <link href="{{ site.cdnurl }}/bootstrap.min.css" rel="stylesheet" media="screen">
+ <link href="{{ site.cdnurl }}/tyrian.min.css" rel="stylesheet" media="screen">
+ <link href="https://www.gentoo.org/assets/css/screen.css" rel="stylesheet" media="screen">
+ {% if page.extracss %}{% for css in page.extracss %}<link href="https://www.gentoo.org/assets/css/{{ css }}" rel="stylesheet" media="screen">{% endfor %}{% endif %}
+ <link rel="icon" href="/favicon.ico" type="image/x-icon">
+ <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website">
+ <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums">
+ <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla">
+ <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages">
+ <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives">
+ {% if page.meta %}{{ page.meta|safe|escape }}{% endif %}
+</head> \ No newline at end of file