-
Notifications
You must be signed in to change notification settings - Fork 16
/
base.html
72 lines (57 loc) · 4.06 KB
/
base.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8">
<title>{% block page_title %}Directory of Open Access Journals{% endblock %} – DOAJ</title>
<meta name="description" content="{% block meta_description %}DOAJ is a unique and extensive index of diverse open access journals from around the world, driven by a growing community, committed to ensuring quality content is freely available online for everyone.{% endblock %}">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon/favicon-16x16.png">
<link rel="manifest" href="/assets/img/favicon/site.webmanifest">
<link rel="mask-icon" href="/assets/img/favicon/safari-pinned-tab.svg" color="#fd5a3b">
<link rel="shortcut icon" href="/assets/img/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/assets/img/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- OpenGraph -->
<meta property="og:url" content="{{ request.url }}">
<meta property="og:type" content="website">
<meta property="og:title" content="{% block meta_og_title %}Directory of Open Access Journals{% endblock %} – DOAJ">
<meta property="og:description" content="{%- block meta_og_description -%}DOAJ is a unique and extensive index of diverse open access journals from around the world, driven by a growing community, committed to ensuring quality content is freely available online for everyone.{%- endblock -%}">
<meta property="og:image" content="{{ base_url }}/assets/img/opengraph/img.png">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="doaj.org">
<meta property="twitter:creator" content="@DOAJplus">
<meta property="twitter:url" content="https://doaj.org">
<meta name="twitter:title" content="{% block meta_twitter_title %}Directory of Open Access Journals{% endblock %} – DOAJ">
<meta name="twitter:description" content="{%- block meta_twitter_description -%}DOAJ is a unique and extensive index of diverse open access journals from around the world, driven by a growing community, committed to ensuring quality content is freely available online for everyone.{%- endblock -%}">
<meta name="twitter:image" content="{{ base_url }}/assets/img/opengraph/img.png">
{% block extra_meta_tags %}{% endblock %}
<!-- Faster Google font loading from https://csswizardry.com/2020/05/the-fastest-google-fonts/ -->
<link rel="preconnect"
href="https://fonts.gstatic.com"
crossorigin />
<link rel="preload"
as="style"
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Spectral:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap" />
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Spectral:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap"
media="print" onload="this.media='all'" />
<noscript>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Spectral:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap" />
</noscript>
<link rel="stylesheet" type="text/css" href="/static/vendor/select2-3.5.4/select2.css">
{# Page-specific styles todo: select2 could possibly go here #}
{% block extra_stylesheets %}{% endblock %}
<!-- Main CSS -->
<link rel="stylesheet" href="/static/doaj/css/main.css?v={{config.get('DOAJ_VERSION')}}">
</head>
{% if not request.cookies.get(config.get("CONSENT_COOKIE_KEY")) %}
{% include "doaj/cookie_consent.html" %}
{% endif %}
{% block base_content %}{% endblock %}
</html>