-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpage_header.html
83 lines (79 loc) · 4.63 KB
/
page_header.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
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#2E4460">
<meta name="twitter:site" content="@ForgeDevTeam">
<meta name="twitter:card" content="summary">
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Forge Files"/>
{% if artifact %}
<meta property="og:title" content="{{ artifact.fullname() }} downloads"/>
<meta property="og:description" content="{{ get_artifact_description(artifact, mc_version or None) }}"/>
<title>Downloads for {{ artifact.fullname() }}{%- if mc_version %} for Minecraft {{ mc_version }}{%- endif %}</title>
<meta property="og:url" content="{{ web_base }}{{ artifact.mavenname() | maventopath }}/{{ canonical_url }}" />
{% else %}
<meta property="og:title" content="Project Index"/>
<meta property="og:description" content="Index of projects hosted at Minecraft Forge Maven"/>
<title>Project index</title>
<meta property="og:url" content="{{ web_base }}project_index.html" />
{% endif %}
<meta property="og:image" content="{{ static_root }}images/embed_logo.png" />
<meta property="og:image:alt" content="FORGE LOGO" />
<link rel="apple-touch-icon" sizes="180x180" href="{{ static_root }}images/apple-touch-icon.png">
<link rel="icon" type="image/png" href="{{ static_root }}images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="{{ static_root }}images/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="{{ static_root }}images/manifest.json">
<link rel="mask-icon" href="{{ static_root }}images/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="{{ static_root }}images/favicon.ico">
<meta name="apple-mobile-web-app-title" content="Forge Files">
<meta name="application-name" content="Forge Files">
<meta name="msapplication-config" content="{{ static_root }}images/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link type="text/css" rel="stylesheet" href="{{ static_root }}css/tooltipster.css">
<link type="text/css" rel="stylesheet" href="{{ static_root }}css/tooltipster-shadow.css">
<link type="text/css" rel="stylesheet" data-theme="light" href="{{ static_root }}css/styles_light.css?{{ now.timestamp() }}">
<link type="text/css" rel="stylesheet" data-theme="dark" href="{{ static_root }}css/styles_dark.css?{{ now.timestamp() }}">
<script type="text/javascript" src="{{ static_root }}js/theme-switch.js?{{ now.timestamp() }}"></script>
<!-- relative time in browser -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/combine/npm/[email protected],npm/[email protected]/plugin/relativeTime.min.js"></script>
<script>dayjs.extend(dayjs_plugin_relativeTime)</script>
</head>
<body>
{%- if artifact and artifact.config['body_start'] %}
{%- for line in artifact.config['body_start'] %}
{{ line }}
{%- endfor %}
{%- endif %}
<header>
<div class="wrapper">
<div class="logo">
{%- if mcversions %}<a href="#" class="open-sidebar"><i class="fa fa-bars"></i></a>{% endif %}
<a href="/" class="logo-image" title="Forge Files"><img src="{{ static_root }}images/logo.svg" width="200"></a>
</div>
<nav>
<ul class="links clearfix">
<li><a href="https://forums.minecraftforge.net">Forums</a></li>
<li><a href="https://files.minecraftforge.net">Files</a></li>
<li><a href="https://docs.minecraftforge.net/en/latest/">Documentation</a></li>
<li><a href="https://files.minecraftforge.net/project_index.html">Project Index</a></li>
</ul>
</nav>
</div>
</header>
{%- if md.global_config['enable_adsense'] %}
<div class="privacy-disclaimer">
<div class="wrapper">
<div class="privacy-disclaimer-text">
This site uses cookies and local storage to enable ads relevant to you and for switching to a dark theme.
Unless you give us your consent, you can't use these features. Note that you can <a href="{{ static_root }}privacy.html#settings">change your choice</a> or check out <a href="{{ static_root }}privacy.html">more detailed information</a> at any time.
</div>
<div class="privacy-disclaimer-links">
<a class="btn btn-privacy-disclaimer-accept" href="#">Accept All</a>
<a class="btn-privacy-disclaimer-decline" href="#">Accept Cookies Only</a>
</div>
</div>
</div>
{%- endif %}