mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
40 lines
2 KiB
HTML
40 lines
2 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<title>{% block title %}{{ config.NAME }}{% endblock %}'s microblog</title>
|
|
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
|
|
<link rel="authorization_endpoint" href="{{ config.ID }}/indieauth">
|
|
<link rel="token_endpoint" href="{{ config.ID }}/token">
|
|
{% if not request.args.get("older_than") and not request.args.get("previous_than") %}<link rel="canonical" href="https://{{ config.DOMAIN }}{{ request.path }}">{% endif %}
|
|
{% block links %}{% endblock %}
|
|
{% if config.THEME_COLOR %}<meta name="theme-color" content="{{ config.THEME_COLOR }}">{% endif %}
|
|
<style>{{ config.CSS | safe }}</style>
|
|
{% block headers %}{% endblock %}
|
|
</head>
|
|
<body>
|
|
{% if logged_in %}
|
|
<div id="admin-menu-wrapper">
|
|
<ul id="admin-menu">
|
|
<li class="left"><a href="/admin" class="admin-title{% if request.path == "/admin" %} selected{% endif %}">Admin</a></li>
|
|
<li class="left"><a href="/admin/new"{% if request.path == "/admin/new" %} class="selected" {% endif %}>New</a></li>
|
|
<li class="left"><a href="/admin/stream"{% if request.path == "/admin/stream" %} class="selected" {% endif %}>Stream</a></li>
|
|
<li class="left"><a href="/admin/notifications"{% if request.path == "/admin/notifications" %} class="selected" {% endif %}>Notifications</a></li>
|
|
<li class="left"><a href="/admin/logout">Logout</a></li>
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
|
|
|
|
<div class="base-container">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
<div class="footer">
|
|
<div>
|
|
Powered by <a href="https://microblog.pub">microblog.pub</a> <small class="microblogpub-version"><code>{{ microblogpub_version }}</code></small> (<a href="https://github.com/tsileo/microblog.pub">source code</a>) and the <a href="https://activitypub.rocks/">ActivityPub</a> protocol
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|