131 rader
5.7 KiB
HTML
131 rader
5.7 KiB
HTML
{% load analytical compress favicon lemoncurry_tags meta static theme_colour %}<!doctype html>
|
|
<html dir="ltr" lang="en" class="{% block html_class %}{% endblock %}">
|
|
<head{% meta_namespaces %}>{% site_name as site_name %}{% request_uri request as uri %}{% request_origin request as origin %}
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
|
|
<base href="{{ origin }}" />
|
|
<link rel="canonical" href="{{ uri }}" />
|
|
<title class="p-name">{% if title %}{{ title }} ~ {% endif %}{{ site_name }}</title>
|
|
|
|
{% analytical_head_top %}
|
|
{% if atom %}<link rel="alternate" type="application/atom+xml" href="{{ atom }}" />{% endif %}
|
|
{% if rss %}<link rel="alternate" type="application/rss+xml" href="{{ rss }}" /> {% endif %}
|
|
{% block head %}{% endblock %}
|
|
|
|
<link rel="authorization_endpoint" href="{{ origin }}{% url 'lemonauth:indie' %}" />
|
|
<link rel="token_endpoint" href="{{ origin }}{% url 'lemonauth:token' %}" />
|
|
<link rel="micropub" href="{{ origin }}{% url 'micropub:micropub' %}" />
|
|
<link rel="openid.delegate" href="{{ origin }}" />
|
|
<link rel="openid.server" href="https://openid.indieauth.com/openid" />
|
|
|
|
<link rel="hub" href="{% get_push_hub %}" />
|
|
<link rel="self" href="{{ uri }}" />
|
|
|
|
<link rel="manifest" href="{% url 'wellknowns:manifest' %}" />
|
|
<meta name="theme-color" content="{% theme_colour 2 %}" />
|
|
|
|
<meta property="og:url" content="{{ uri }}" />
|
|
<meta property="og:title" content="{% firstof title site_name %}" />
|
|
{% include 'meta/meta.html' %}
|
|
{% get_favicons 'favicon/' %}
|
|
|
|
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
|
|
integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous" />
|
|
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/monokai.min.css"
|
|
integrity="sha384-bHqbpRh/XW+phptvH9nQvMKHwPH1ZbOxpIeAB2D2OIEL4Ni7aZzZgMFpsRra+v1g" crossorigin="anonymous" />
|
|
{% compress css %}
|
|
<link rel="stylesheet" type="text/css" href={% static 'openwebicons/css/openwebicons.css' %} />
|
|
<link rel="stylesheet" type="text/css" href={% static 'tippy.js/tippy.css' %} />
|
|
<link rel="stylesheet" type="text/stylus" href="{% static 'lemoncurry/css/layout.styl' %}" />
|
|
{% block styles %}{% endblock %}
|
|
{% endcompress %}
|
|
<script type="text/javascript" defer src="https://use.fontawesome.com/releases/v5.0.10/js/all.js"
|
|
integrity="sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+" crossorigin="anonymous"></script>
|
|
{% analytical_head_bottom %}
|
|
</head>
|
|
<body>
|
|
{% analytical_body_top %}
|
|
<header>
|
|
<nav class="navbar navbar-expand-md navbar-dark">
|
|
<a class="navbar-brand" rel="home" href="{% url 'home:index' %}">{% site_name %}</a>
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar"
|
|
aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbar">
|
|
{% nav_left request %}
|
|
{% nav_right request %}
|
|
</div>
|
|
</nav>
|
|
{% if request.resolver_match.view_name %}
|
|
{% nav_crumbs request.resolver_match %}
|
|
{% endif %}
|
|
</header>
|
|
|
|
<main>
|
|
{% block main %}{% endblock %}
|
|
</main>
|
|
|
|
<footer>
|
|
<p>all content licensed under <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">cc by-sa 4.0</a></p>
|
|
|
|
{% if entries.has_other_pages %}
|
|
<nav>
|
|
<ul class="pagination">
|
|
{% if entries.prev %}
|
|
<li class="page-item">
|
|
<a class="page-link" rel="prev" href="{{ entries.prev.url }}">
|
|
<i class="fas fa-step-backward"></i><span class="sr-only">previous page</span>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
|
|
{% for page in entries.pages %}
|
|
{% if page.current %}
|
|
<li class="page-item active">
|
|
<span class="page-link">{{ page.i }} <span class="sr-only">(current page)</span></span>
|
|
</li>
|
|
{% else %}
|
|
<li class="page-item">
|
|
<a class="page-link" href="{{ page.url }}">{{ page.i }}</a>
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% if entries.next %}
|
|
<li class="page-item">
|
|
<a class="page-link" rel="next" href="{{ entries.next.url }}">
|
|
<i class="fas fa-step-forward"></i><span class="sr-only">next page</span>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
</ul>
|
|
</nav>
|
|
{% endif %}
|
|
|
|
{% get_package_json as package %}
|
|
<p>powered by <a rel="code-repository" href="{{ package.repository }}/tree/v{{ package.version }}">{{ package.name }} {{ package.version }}</a></p>
|
|
</footer>
|
|
|
|
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" crossorigin="anonymous"
|
|
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" crossorigin="anonymous"
|
|
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"></script>
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" crossorigin="anonymous"
|
|
integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" crossorigin="anonymous"
|
|
integrity="sha384-ZeLYJ2PNSQjvogWP559CDAf02Qb8FE5OyQicqtz/+UhZutbrwyr87Be7NPH/RgyC"></script>
|
|
|
|
{% compress js %}
|
|
<script src="{% static 'tippy.js/tippy.standalone.js' %}"></script>
|
|
<script type="text/javascript">
|
|
hljs.initHighlightingOnLoad();
|
|
</script>
|
|
{% block foot %}{% endblock %}
|
|
{% endcompress %}
|
|
{% analytical_body_bottom %}
|
|
</body>
|
|
</html>
|