lektor-website/templates/layout.html

103 lines
4.2 KiB
HTML
Raw Permalink Normal View History

2018-09-13 04:19:43 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="{{ '/static/styles.css'|asseturl }}">
<link rel="stylesheet" href="{{ get_pygments_stylesheet()|url }}">
<link rel="shortcut icon" href="{{ '/static/favicon.png'|asseturl }}">
<title>{% block title %}Hello{% endblock %} | Lektor Static Content Management System</title>
</head>
2015-12-19 14:52:17 +01:00
<body class="{% block bodyclass %}default{% endblock %}">
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ '/'|url }}">Lektor</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
2016-05-20 18:22:18 +02:00
{% for id, item in bag('menu').items() %}
2015-12-19 14:52:17 +01:00
<li{% if this.is_child_of(item.path) %} class="active"{% endif
%}><a href="{{ item.path|url }}">{{ item.label }}</a></li>
{% endfor %}
</ul>
</div>
</div>
</nav>
<div class="body-wrapper">
{% block outerbody %}
<div class="container">
{% block body %}{% endblock %}
</div>
{% endblock %}
</div>
{% block bottomsummary %}
<div class="bottomsummary">
<div class="container">
</div>
</div>
{% endblock %}
{% block footer %}
<footer>
<div class="container">
<div class="row">
2016-01-09 10:27:02 +01:00
<div class="col-sm-4 icon-bar">
<a href="https://github.com/lektor/lektor/" title="Lektor on GitHub"
2015-12-20 21:37:07 +01:00
><i class="fa fa-github"></i></a>
<a href="https://github.com/lektor/lektor/issues/" title="Report Issues for Lektor"
><i class="fa fa-bug"></i></a>
<a href="https://twitter.com/getlektor" title="Find Lektor on Twitter"
><i class="fa fa-twitter"></i></a>
2015-12-23 10:20:38 +01:00
<a href="https://gitter.im/lektor/lektor" title="Chat on Gitter"
><i class="fa fa-comment"></i></a>
2015-12-20 21:37:07 +01:00
{%- if this.path %}
<a href="https://github.com/lektor/lektor-website/tree/master/content{% if this.path != '/'
%}{{ this.path.split('@')[0]}}{% endif %}/contents.lr" title="View source for this page"><i class="fa fa-code"></i></a>
2015-12-20 21:37:07 +01:00
{%- endif %}
2015-12-19 14:52:17 +01:00
</div>
2016-01-09 10:27:02 +01:00
<div class="col-sm-8">
<a href="{{ '/license/'|url }}">License & Copyright</a>
<a href="{{ '/contact/'|url }}">Contact</a>
2015-12-20 21:37:07 +01:00
Made with <i class="fa fa-fw fa-heart" title="Heart"><span hidden>Heart</span></i> in Carinthia
2015-12-19 14:52:17 +01:00
</div>
</div>
</div>
</footer>
{% endblock %}
<script type=text/javascript src="{{ '/static/app.js'|asseturl }}" charset="utf-8"></script>
<script>
2015-12-30 00:23:33 +01:00
((window.gitter = {}).chat = {}).options = {
room: 'lektor/lektor',
activationElement: null
};
document.write('<button class="js-gitter-toggle-chat-button">Toggle Chat</button>');
var dnt = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
if (dnt != "1" && dnt != "yes") {
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-70822533-1', 'auto');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
} else {
console.debug("Respecting Do-Not-Track, not running analytics.");
}
2015-12-19 14:52:17 +01:00
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
2015-12-20 00:31:49 +01:00
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
2015-12-30 00:23:33 +01:00
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
2015-12-19 14:52:17 +01:00
</body>
2018-09-13 04:19:43 +02:00
</html>