mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
34 lines
1.7 KiB
HTML
34 lines
1.7 KiB
HTML
<div id="header">
|
|
|
|
<div class="h-card p-author">
|
|
<data class="u-photo" value="{{ config.ME.icon.url }}"></data>
|
|
<a href="{{ config.ID }}" class="u-url u-uid no-hover title">
|
|
<span style="font-size:1.1em;">{{ config.NAME }}</span>
|
|
<span style="font-size:0.85em;" class="subtitle-username">@<span class="gold p-name">{{ config.USERNAME }}</span>@<span class="gold">{{ config.DOMAIN }}</span>
|
|
{% if not session.logged_in %}<small><a class="remote-follow-button" href="/remote_follow">Remote follow</a></small>{% endif %}
|
|
</a>
|
|
|
|
{% if not request.path.startswith('/admin') %}
|
|
<div class="p-note summary">
|
|
{{ config.SUMMARY | safe }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% if not request.path.startswith('/admin') %}
|
|
<div class="menu">
|
|
<ul>
|
|
<li><a href="/" {% if request.path == "/" %}class="selected"{% endif %}>Notes <small class="badge">{{ notes_count }}</small></a></li>
|
|
{% if session.logged_in %}<li><a href="/with_replies" {% if request.path == "/with_replies" %}class="selected"{% endif %}>With replies <small class="badge">{{ with_replies_count }}</small></a></li>
|
|
{% endif %}
|
|
<li><a href="/liked" {% if request.path == "/liked" %}class="selected"{% endif %}>Liked <small class="badge">{{ liked_count }}</small></a></li>
|
|
<li><a href="/followers"{% if request.path == "/followers" %} class="selected" {% endif %}>Followers <small class="badge">{{ followers_count }}</small></a></li>
|
|
{% if not config.HIDE_FOLLOWING or session.logged_in %}<li id="menu-item-following"><a href="/following"{% if request.path == "/following" %} class="selected" {% endif %}>Following <small class="badge">{{ following_count }}</small></a></li>{% endif %}
|
|
<!-- <li><a href="/about"{% if request.path == "/about" %} class="selected" {% endif %}>/about</a></li>
|
|
-->
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
|
|
</div>
|