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-05-21 19:03:21 +00:00
< title > {% block title %}{{ config.NAME }}{% endblock %} - microblog.pub< / 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" >
< link rel = "micropub" href = "{{ config.ID }}/micropub" >
< link rel = "alternate" href = "https://mastodon.social/users/tpub0" title = "ActivityPub profile" type = "application/activity+json" >
< link rel = "alternate" href = "{{ config.ID }}/feed.json" type = "application/json" title = "JSON Feed" >
< link rel = "alternate" href = "{{ config.ID }}/feed.rss" type = "application/rss+xml" title = "RSS" >
< link rel = "alternate" href = "{{ config.ID }}/feed.atom" type = "application/atom+xml" title = "Atom 0.3" >
2018-05-21 19:10:21 +00:00
{% if config.THEME_COLOR %}< meta name = "theme-color" content = "{{ config.THEME_COLOR }}" > {% endif %}
2018-07-01 09:40:44 +00:00
< style >
2018-07-01 10:49:16 +00:00
{{ config.CSS | safe }}
2018-07-01 09:40:44 +00:00
< / style >
2018-05-18 18:41:41 +00:00
< / head >
< body >
2018-07-01 21:25:26 +00:00
{% if logged_in %}
< ul id = "admin-menu" >
< li class = "left" > < span class = "admin-title" > Admin< / span > < / li >
< li class = "left" > < a href = "/new" { % if request . path = = " / new " % } class = "selected" { % endif % } > New< / a > < / li >
< li class = "left" > < a href = "/stream" { % if request . path = = " / stream " % } class = "selected" { % endif % } > Stream< / a > < / li >
< li class = "left" > < a href = "/notifications" { % if request . path = = " / notifications " % } class = "selected" { % endif % } > Notifications< / a > < / li >
< li class = "left" > < a href = "/admin" { % if request . path = = " / admin " % } class = "selected" { % endif % } > Stats< / a > < / li >
< li class = "right" > < a href = "/logout" > Logout< / a > < / li >
< / ul >
{% 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 >
< / body >
< / html >