ungleich-staticcms/templates/layout-2020.html

127 lines
4.8 KiB
HTML
Raw Normal View History

2019-12-30 22:09:33 +00:00
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2020-01-04 12:53:11 +00:00
<title>{% block title %}Welcome to ungleich.ch{% endblock %}</title>
2019-12-31 00:39:46 +00:00
<!-- Bootstrap + helpers2 -->
<link rel="stylesheet"
href="/u/static/bootstrap-4.4.1-dist/css/bootstrap.min.css">
2020-01-03 18:41:45 +00:00
<link rel="shortcut icon" href="/u/static/images/favicon.ico"/>
2020-01-20 10:09:35 +00:00
<link rel="stylesheet" href="/u/static/generic-header.css"/>
2019-12-30 22:09:33 +00:00
2020-01-04 13:48:38 +00:00
<!-- Google analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-62285904-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
2019-12-30 22:09:33 +00:00
</head>
<body>
2020-01-20 10:09:35 +00:00
{% if this.header %}
{% set nav_style = 'background-color:' + this.header.blocks[0].primary_color + ';' %}
{% set nav_classes = this.header.blocks[0].nav_link_color %}
2020-01-20 10:09:35 +00:00
{% else %}
{% set nav_classes = 'navbar-light bg-light' %}
{% endif %}
<nav class="navbar navbar-expand-lg {{ nav_classes }}" style="{{ nav_style }}">
2020-01-25 16:35:08 +00:00
<a class="navbar-brand" href="https://ungleich.ch">
{% if 'navbar-dark' in nav_classes %}
<img src="/u/image/ungleich-logo-white.svg" width="128px" alt="ungleich">
{% else %}
<img src="/u/image/ungleich-logo-black.svg" width="128px" alt="ungleich">
{% endif %}
</a>
2019-12-30 22:09:33 +00:00
<button class="navbar-toggler" type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- MENU HERE -->
2019-12-30 22:09:33 +00:00
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
2019-12-31 00:39:46 +00:00
<a class="nav-link" href="/blog/">Old Blog<a/>
</li>
<li class="nav-item active">
<a class="nav-link" href="/u/blog/">New Blog<a/>
</li>
<li class="nav-item active">
<a class="nav-link" href="https://chat.ungleich.ch/">Chat<a/>
2019-12-30 22:09:33 +00:00
</li>
<li class="nav-item">
2019-12-31 00:39:46 +00:00
<a class="nav-link" href="/u/products/">Products</a>
2019-12-30 22:09:33 +00:00
</li>
<li class="nav-item">
<a class="nav-link" href="/u/projects/">Projects</a>
</li>
2020-01-04 16:56:10 +00:00
<li class="nav-item">
<a class="nav-link" href="/u/deals/">Deals</a>
</li>
2020-01-20 11:58:36 +00:00
<li class="nav-item">
<a class="nav-link" href="/u/events/">Events</a>
</li>
2019-12-30 22:09:33 +00:00
</ul>
<form class="form-inline my-2 my-lg-0"
action="https://search.ungleich.ch/yacysearch.html" method="get">
<input class="form-control mr-sm-2" type="search"
placeholder="Search" name="query" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
2020-01-04 16:24:38 +00:00
<a class="nav-link" href="/u/">
<button type="button" class="btn btn-info"
style="margin-left: 8px;">
BETA Website
</button>
</a>
2019-12-30 22:09:33 +00:00
</form>
</div>
</nav>
2020-01-20 10:09:35 +00:00
{% if this.header %}
{{ this.header.blocks[0] }}
{% else %}
2019-12-30 22:09:33 +00:00
<div class="position-relative overflow-hidden p-3 p-md-5 m-md-3 text-center bg-light">
<div class="col-md-5 p-lg-5 mx-auto my-5">
2020-01-02 19:25:31 +00:00
<h1 class="display-4 font-weight-normal">{{ self.title() }}
2019-12-30 22:09:33 +00:00
<p class="lead font-weight-normal">
{% block subtitle %}{% endblock %}
</p>
</div>
<div class="product-device shadow-sm d-none d-md-block"></div>
<div class="product-device product-device-2 shadow-sm d-none d-md-block"></div>
</div>
2020-01-20 10:09:35 +00:00
{% endif %}
2019-12-30 22:09:33 +00:00
2019-12-30 22:54:13 +00:00
{% block content %}{% endblock %}
2019-12-30 22:09:33 +00:00
<hr/>
2019-12-30 22:09:33 +00:00
<footer class="footer mt-auto py-3">
<div class="container">
<span class="text-muted">Copyright
2020-01-02 19:25:31 +00:00
<a class=footer-link href="https://ungleich.ch">ungleich
glarus ag</a>.</span>
2019-12-30 22:09:33 +00:00
</div>
</footer>
2019-12-31 00:39:46 +00:00
<!-- slow javascript at the end -->
<script type="text/javascript"
src="/u/static/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript"
src="/u/static/popper.js-1.16.0/dist/esm/popper.min.js"></script>
<script type="text/javascript"
src="/u/static/bootstrap-4.4.1-dist/js/bootstrap.min.js"></script>
2019-12-30 22:09:33 +00:00
</body>
</html>