2
0
mirror of https://github.com/offen/website.git synced 2024-12-27 23:10:22 +01:00
website/homepage/theme/templates/base.html

208 lines
8.5 KiB
HTML
Raw Normal View History

2019-05-30 22:17:39 +02:00
<!DOCTYPE html>
<html lang="en">
{% block head %}
2019-05-30 22:17:39 +02:00
<head>
<title>
{% block title %}{{ title }}{% endblock %}
</title>
2019-07-26 12:05:08 +02:00
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="{{ description }}">
2019-07-26 12:05:08 +02:00
<meta property="og:site_name" content="{{ SITENAME }}">
<meta property="og:locale" content="{{ DEFAULT_LANG }}">
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ description }}">
2019-07-26 12:05:08 +02:00
<meta property="og:type" content="website">
<meta property="og:url" content="{{ SITEURL }}/{{ href }}">
<meta property="og:image" content="{{ SITEURL }}{{ sm_image_url or '/theme/images/offen-logo-social-media.jpg' }}">
<meta name="twitter:image:alt" content="Offen logo">
2019-07-26 12:05:08 +02:00
<meta name="twitter:card" content="summary_large_image">
2019-12-23 19:44:46 +01:00
{% if template != 'archives' %}
<link rel="canonical" href="{{ SITEURL }}/{{ href }}">
2019-12-23 19:44:46 +01:00
{% endif %}
2019-07-26 12:05:08 +02:00
<link rel="shortcut icon" type="image/x-icon" href="/theme/images/favicon.ico">
{% assets filters="postcss", output="css/style.min.css", "css/tachyons.min.css", "css/fix.css", "css/fonts.css" %}
2019-12-27 23:09:42 +01:00
<link rel="stylesheet" href="/{{ ASSET_URL }}">
{% endassets %}
<link rel="preload" href="/theme/fonts/rubik-v9-latin-regular.woff2" as="font" crossorigin>
<link rel="preload" href="/theme/fonts/rubik-v9-latin-500.woff2" as="font" crossorigin>
{% if OFFEN_ACCOUNT_ID and not no_stats %}
2020-01-08 13:35:01 +01:00
<script async src="https://analytics.offen.dev/script.js" data-account-id="{{ OFFEN_ACCOUNT_ID }}"></script>
2019-07-26 12:05:08 +02:00
{% endif %}
2019-05-30 22:17:39 +02:00
</head>
{% endblock %}
2020-04-27 21:51:46 +02:00
<body class="{{ template }} f5 rubik lh-copy cclr-fnt-black-mid cclr-bg-black-mid">
<div class="cclr-bg-white-dark">
<div class="menu w-100 cclr-bg-yellow-mid">
2020-01-02 17:12:10 +01:00
<section class="nav-bar">
<div class="nav-container">
2020-02-01 13:16:43 +01:00
<div class="icon flex">
<a class="link dim" href="/"><img src="/theme/images/offen-icon-white.svg" alt="Offen logo" width="37" height="40" class="logo"></a>
<a class="link dim" href="/"><p class="f25 normal ma0 ml2 white">Offen</p></a>
2020-01-02 17:12:10 +01:00
</div>
2020-04-27 21:51:46 +02:00
{% if funnel != 'true' %}
2020-01-02 17:12:10 +01:00
<nav>
<div class="nav-mobile"><span id="nav-toggle"><span></span></span></div>
<ul class="nav-list">
<li>
2020-04-27 21:51:46 +02:00
<a class="b link dim cclr-fnt-black-mid" href="/">Summary</a>
2020-01-02 17:12:10 +01:00
</li>
<li>
2020-04-27 21:51:46 +02:00
<a class="b link dim cclr-fnt-black-mid" href="/deep-dive/">Deep dive</a>
2020-01-02 17:12:10 +01:00
</li>
<li>
2020-04-27 21:51:46 +02:00
<a class="b link dim cclr-fnt-black-mid" href="/blog/">Blog</a>
2020-01-02 17:12:10 +01:00
</li>
<li>
2020-04-27 21:51:46 +02:00
<a class="b link dim cclr-fnt-black-mid" href="/about/">About</a>
2020-01-02 17:12:10 +01:00
</li>
<li>
<a class="b link dim cclr-fnt-black-mid" href="{{ GITHUB_REPO }}" rel="noopener" target="_blank">GitHub</a>
2020-01-02 17:12:10 +01:00
</li>
<li>
2020-04-27 21:51:46 +02:00
<a class="b link dim cclr-fnt-black-mid" href="{{ DOCS_URL }}" rel="noopener" target="_blank">Docs</a>
2020-01-02 17:12:10 +01:00
</li>
2020-02-01 23:03:19 +01:00
<li>
<a class="b link dim" href="/get-started/">Get started</a>
</li>
2020-01-02 17:12:10 +01:00
</ul>
</nav>
2020-01-31 21:58:30 +01:00
{% endif %}
</div>
2020-01-02 17:12:10 +01:00
</section>
</div>
{% block content %}
<div class="w-100 mt5-ns gray">
<div class="mw7 center pt5 pb5 ph3 ph5-ns bg-white">
{{ content }}
</div>
2019-12-22 12:56:02 +01:00
</div>
2020-01-02 17:12:10 +01:00
{% endblock %}
2019-08-21 12:53:01 +02:00
2020-04-27 16:47:24 +02:00
{% if funnel != 'true' %}
2020-01-02 17:12:10 +01:00
{% block outro %}
2020-04-27 21:51:46 +02:00
<div class="w-100 cclr-bg-yellow-mid">
<div class="pt3 pb4 ph3" id="bg-pattern">
2020-01-02 17:12:10 +01:00
<div class="mw8 center">
2020-04-27 21:51:46 +02:00
<div class="flex flex-wrap justify-center tc pt3">
{% if cta_2 != 'true' %}
<div class="wx24 ph4-ns pt4 pb5 cclr-bg-yellow-mid">
2020-01-28 14:38:52 +01:00
<h2 class="f25 normal lh-solid ma0 mb3">
2020-01-02 17:12:10 +01:00
Participate
</h2>
<p class="ma0 mb3">
2020-04-27 21:51:46 +02:00
Audit our open source code and feel free to make a contribution.
2020-01-02 17:12:10 +01:00
</p>
<a class="b link dim ph4 pv2 dib b--solid bw2 cclr-brd-black-mid cclr-fnt-black-mid" href="{{ GITHUB_REPO }}" rel="noopener" target="_blank">Get involved</a>
2020-01-02 17:12:10 +01:00
</div>
2020-04-27 21:51:46 +02:00
{% endif %}
{% if cta_1 != 'true' %}
<div class="wx24 ph4-ns pt4 pb5 cclr-bg-yellow-mid">
2020-01-28 14:38:52 +01:00
<h2 class="f25 normal lh-solid ma0 mb3">
2020-01-02 17:12:10 +01:00
In the making
</h2>
<p class="ma0 mb3">
2020-04-27 21:51:46 +02:00
Discover what is already up and running and where we want to go.
2020-01-02 17:12:10 +01:00
</p>
2020-04-29 10:46:22 +02:00
<a class="b link dim ph4 pv2 dib b--solid bw2 cclr-brd-black-mid cclr-fnt-black-mid" href="/blog/">Open blog</a>
2020-01-02 17:12:10 +01:00
</div>
{% endif %}
2020-04-27 21:51:46 +02:00
<div class="wx24 ph4-ns pt4 pb5 cclr-bg-yellow-mid">
2020-01-28 14:38:52 +01:00
<h2 class="f25 normal lh-solid ma0 mb3">
2020-01-02 17:12:10 +01:00
Ethical internet
</h2>
<p class="ma0 mb3">
2020-04-27 21:51:46 +02:00
Help to ensure that Offen is independent and can be sustained.
2020-01-02 17:12:10 +01:00
</p>
2020-04-27 21:51:46 +02:00
<a class="b link dim ph4 pv2 dib b--solid bw2 cclr-brd-black-mid cclr-fnt-black-mid" href="{{ PATREON_URL }}" rel="noopener" target="_blank">Support us</a>
2020-01-02 17:12:10 +01:00
</div>
2020-04-27 21:51:46 +02:00
</div>
2019-08-20 16:42:19 +02:00
</div>
</div>
</div>
2020-01-02 17:12:10 +01:00
{% endblock %}
2020-01-31 21:58:30 +01:00
{% endif %}
2020-04-27 16:47:24 +02:00
{% if funnel != 'true' %}
2020-04-27 21:51:46 +02:00
<div class="w-100 cclr-bg-black-mid gray ph4 pb4">
2020-01-02 17:12:10 +01:00
<div class="flex flex-row-l flex-column w-100-l mw6-m center-m pt4 pb6">
2020-04-27 21:51:46 +02:00
<div class="w-25-l mt3 mr3 cclr-fnt-yellow-mid">
2020-01-02 17:12:10 +01:00
<p class="ma0">
2020-04-27 21:51:46 +02:00
<a class="b link dim cclr-fnt-yellow-mid" href="/">Offen</a>
2020-01-02 17:12:10 +01:00
</p>
<p class="ma0">Transparent web analytics</p>
<p class="ma0">for everyone</p>
</div>
<div class="w-25-l mt3 mr3">
<p class="ma0">
<a class="link b dim gray" href="mailto:{{ CONTACT_EMAIL }}">{{CONTACT_EMAIL}}</a>
</p>
<p class="ma0">
<a class="link b dim gray" target="_blank" href="/theme/{{ GPG_KEY_FILE }}">GPG Key</a>
</p>
<p class="ma0 mt2">
2020-04-27 21:51:46 +02:00
<a class="link b dim gray" href="/blog/">Blog</a>
</p>
<p class="ma0">
2020-03-03 20:46:56 +01:00
<a class="link b dim gray" href="{{ DOCS_URL }}" rel="noopener" target="_blank">Docs</a>
2020-01-02 17:12:10 +01:00
</p>
<p class="ma0">
<a class="link b dim gray" href="{{ GITHUB_REPO }}" rel="noopener" target="_blank">GitHub</a>
2020-01-02 17:12:10 +01:00
</p>
</div>
<div class="w-25-l mt3 mr3">
2020-03-03 20:46:56 +01:00
<p class="ma0">
<a class="link b dim gray" href="{{ PATREON_URL }}" rel="noopener" target="_blank">Patreon</a>
</p>
2020-01-02 17:12:10 +01:00
<p class="ma0">
<a class="link b dim gray" href="{{ LINKEDIN_URL }}" rel="noopener" target="_blank">LinkedIn</a>
</p>
<p class="ma0">
<a class="link b dim gray" href="{{ TWITTER_URL }}" rel="noopener" target="_blank">Twitter</a>
</p>
2020-03-03 20:46:56 +01:00
<p class="ma0 mt2">
2020-01-02 17:12:10 +01:00
<a class="link b dim gray" href="/legal-notice/">Legal Notice</a>
</p>
</div>
<div class="w-25-l mt3 tr-l">
{{ BUILD_DATE }}
</div>
2019-12-22 12:56:02 +01:00
</div>
2019-08-21 12:53:01 +02:00
</div>
2020-03-17 06:38:49 +01:00
{% else %}
2020-04-27 21:51:46 +02:00
<div class="w-100 cclr-bg-mint-mid ph4 pb4">
2020-04-27 15:45:47 +02:00
<div id="bg-pattern">
2020-04-27 21:51:46 +02:00
<div class="flex flex-row-l flex-column w-100-l mw6-m center-m pt4 pb6">
<div class="w-25-l mt3 mr3 cclr-fnt-black-mid">
<p class="ma0">
<a class="b link dim cclr-fnt-black-mid" href="/">Offen</a>
</p>
<p class="ma0">Transparent web analytics</p>
<p class="ma0">for everyone</p>
</div>
<div class="w-25-l mt3 mr3">
</div>
<div class="w-25-l mt3 mr3">
</div>
<div class="w-25-l mt3 tr-l">
{{ BUILD_DATE }}
</div>
2020-03-17 06:38:49 +01:00
</div>
2020-04-27 15:45:47 +02:00
</div>
2020-03-17 06:38:49 +01:00
</div>
{% endif %}
2020-01-02 17:12:10 +01:00
</div>
2020-01-02 17:15:20 +01:00
{% block scripts %}
{% assets filters="rjsmin", output="scripts/packed.js", "scripts/jquery-3.4.1.min.js", "scripts/menu.js", "scripts/fade.js" %}
<script src="/{{ ASSET_URL }}"></script>
{% endassets %}
{% endblock %}
2019-12-22 12:56:02 +01:00
</body>
2019-05-30 22:17:39 +02:00
</html>