2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 21:30:22 +01:00
website/homepage/theme/templates/base.html
2019-12-23 11:46:19 +01:00

167 lines
6.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
{% block head %}
<head>
<title>
{% block title %}{{ title }}{% endblock %}
</title>
<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 }}">
<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 }}">
<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">
<meta name="twitter:card" content="summary_large_image">
<link rel="canonical" href="{{ SITEURL }}/{{ href }}">
<link rel="shortcut icon" type="image/x-icon" href="/theme/images/favicon.ico">
<link rel="stylesheet" href="/theme/css/tachyons.min.css">
<link rel="stylesheet" href="/theme/css/fix.css">
<!--
{% assets filters="libsass,postcss,cssmin", output="css/style.min.css", "css/normalize.css", "css/fonts.css", "css/style.scss" %}
<link rel="stylesheet" href="/{{ ASSET_URL }}">
{% endassets %}
-->
{% if OFFEN_ACCOUNT_ID and not no_stats %}
<script async src="/script.js" data-account-id="{{ OFFEN_ACCOUNT_ID }}"></script>
{% endif %}
</head>
{% endblock %}
<body class="{{ template }} f5 sans-serif lh-copy fnt-cclr-mid-black">
<!-- Menu ######################################################### -->
<div class="menu w-100 cclr-mid-yellow"> <!-- menu -->
<section class="nav-bar">
<div class="nav-container">
<div class="icon">
<a href="/"><img src="/theme/images/offen-icon-white.svg" alt="Offen logo" width="37" height="40" class="logo"></a>
</div>
<nav>
<div class="nav-mobile"><span id="nav-toggle"><span></span></span></div>
<ul class="nav-list">
<li>
<a class="b link dim fnt-cclr-mid-black" href="/">Summary</a>
</li>
<li>
<a class="b link dim fnt-cclr-mid-black" href="/deep-dive/">Deep dive</a>
</li>
<li>
<a class="b link dim fnt-cclr-mid-black" href="/blog/">Status</a>
</li>
<li>
<a class="b link dim fnt-cclr-mid-black" href="/about/">About</a>
</li>
<li>
<a class="b link dim fnt-cclr-mid-black" href="{{ GITHUB_ORG }}" rel="noopener" target="_blank">GitHub</a>
</li>
<li>
<a class="b link dim fnt-cclr-mid-black" href="{{ PATREON_URL }}" rel="noopener" target="_blank">Patreon</a>
</li>
</ul>
</nav>
</div>
</section>
</div>
<!-- Content ######################################################### -->
{% block content %}
<div class="w-100 mt5-ns bg-white mid-grey"> <!-- content -->
<div class="mw6 center">
{{ content }}
</div>
</div>
{% endblock %}
{% block outro %}
<div class="w-100 cclr-mid-yellow"> <!--cta-bottom-->
<div class="w-100" id="bg-cta-bottom">
<div class="mw8 center">
<div class="flex flex-wrap justify-around">
<div class="w5">
<h2 class="pa0 ma0">
Participate
</h2>
<p class="pa0 ma0">
Development of Offen has just started. Do not hesitate to make a contribution and help us handle data with respect.
</p>
<div class="pa0 ma0">
<a class="btn btn-color-black" href="{{GITHUB_ORG}}" rel="noopener" target="_blank">Get involved</a>
</div>
</div>
<div class="w5">
<h2 class="pa0 ma0">
In the making
</h2>
<p class="pa0 ma0">
Offen is still in alpha. Discover what is already up and running and where we want to go in the coming months.
</p>
<div class="pa0 ma0">
<a class="btn btn-color-black" href="/blog/">Project status</a>
</div>
</div>
<div class="w5">
<h2 class="pa0 ma0">
Ethical internet
</h2>
<p class="pa0 ma0">
We're working hard to ensure that Offen is independent, cutting-edge and can be sustained for years to come.
</p>
<div class="pa0 ma0">
<a class="btn btn-color-black" href="{{ PATREON_URL }}" rel="noopener" target="_blank">Support us</a>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
<!-- Footer ######################################################### -->
<div class="w-100 cclr-mid-black gray"> <!--footer-->
<div class="flex flex-row-l flex-column w-100-l w-80 center pt4 pb6 ph4">
<div class="w-25-l mt3 mr3 fnt-cclr-mid-yellow">
<p class="ma0">Offen</h3>
<p class="ma0">Transparent web analytics</h4>
<p class="ma0">for everyone</h4>
</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 }}">Email GPG Key</a>
</p>
<p class="ma0 mt2">
<a class="link b dim gray" href="{{ GITHUB_ORG }}" rel="noopener" target="_blank">GitHub</a>
</p>
<p class="ma0">
<a class="link b dim gray" href="{{ PATREON_URL }}" rel="noopener" target="_blank">Patreon</a>
</p>
</div>
<div class="w-25-l mt3 mr3">
<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>
<p class="ma0">
<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>
</div>
</div>
{% 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 %}
</body>
</html>