2018-05-18 18:41:41 +00:00
<!DOCTYPE HTML>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
2018-06-21 22:43:28 +00:00
< meta http-equiv = "x-ua-compatible" content = "ie=edge" >
2018-05-18 18:41:41 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" >
2018-07-05 20:27:29 +00:00
< title > {% block title %}{{ config.NAME }}{% endblock %}'s microblog< / title >
2018-05-18 18:41:41 +00:00
< 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" >
2018-07-06 21:15:49 +00:00
{% 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 %}
2018-05-21 19:10:21 +00:00
{% if config.THEME_COLOR %}< meta name = "theme-color" content = "{{ config.THEME_COLOR }}" > {% endif %}
2019-04-10 20:50:36 +00:00
< style > { { c o n f i g . C S S | s a f e } }
.emoji {
width: 20px;
}
< / style >
2018-07-15 19:25:09 +00:00
{% block headers %}{% endblock %}
2018-05-18 18:41:41 +00:00
< / head >
< body >
2018-07-01 21:25:26 +00:00
{% if logged_in %}
2018-07-15 20:20:38 +00:00
< div id = "admin-menu-wrapper" >
2018-07-01 21:25:26 +00:00
< ul id = "admin-menu" >
2018-07-24 22:11:23 +00:00
< li class = "left" > < a href = "/admin" class = "admin-title{% if request.path.startswith(" / admin " ) % } selected { % endif % } " > Admin< / a > < / li >
< li class = "left" > < a href = "/" class = "admin-title {% if not request.path.startswith(" / admin " ) % } selected { % endif % } " > Public< / a > < / li >
2018-07-06 22:08:44 +00:00
< 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 >
2018-07-20 22:04:15 +00:00
< li class = "left" > < a href = "/following" { % if request . path = = " / following " % } class = "selected" { % endif % } > Following< / a > < / li >
< li class = "left" > < a href = "/admin/lookup" { % if request . path = = " / admin / lookup " % } class = "selected" { % endif % } > Lookup< / a > < / li >
2018-07-15 19:25:09 +00:00
< li class = "left" > < a href = "/admin/logout" > Logout< / a > < / li >
2018-07-01 21:25:26 +00:00
< / ul >
2018-07-15 20:20:38 +00:00
< / div >
2018-07-01 21:25:26 +00:00
{% endif %}
2018-05-18 18:41:41 +00:00
< div class = "base-container" >
{% block content %}{% endblock %}
< / div >
< div class = "footer" >
< div >
2018-05-21 15:04:53 +00:00
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
2018-05-18 18:41:41 +00:00
< / div >
< / div >
2019-04-10 20:50:36 +00:00
< script src = "https://cdn.jsdelivr.net/npm/twemoji@12.0.0/2/twemoji.min.js" > < / script >
< script >
window.onload = function() {
twemoji.base = "https://cdn.jsdelivr.net/npm/twemoji@12.0.0/2/";
twemoji.parse(document.body, {
folder: 'svg',
ext: '.svg'
});
}
< / script >
2018-05-18 18:41:41 +00:00
< / body >
< / html >