2022-06-22 18:11:22 +00:00
|
|
|
<header id="header">
|
|
|
|
|
|
|
|
<div class="h-card p-author">
|
|
|
|
<data class="u-photo" value="{{ local_actor.icon_url }}"></data>
|
|
|
|
<a href="{{ local_actor.url }}" class="u-url u-uid no-hover title">
|
2022-07-01 17:35:34 +00:00
|
|
|
<span class="name">{{ local_actor.name }}</span>
|
|
|
|
<span class="p-name handle">{{ local_actor.handle }}</span>
|
2022-06-22 18:11:22 +00:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<div class="p-note summary">
|
|
|
|
{{ local_actor.summary | safe }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{%- macro header_link(url, text) -%}
|
2022-06-25 08:20:07 +00:00
|
|
|
{% set url_for = request.app.router.url_path_for(url) %}
|
|
|
|
<a href="{{ url_for }}" {% if request.url.path == url_for %}class="active"{% endif %}>{{ text }}</a>
|
2022-06-22 18:11:22 +00:00
|
|
|
{% endmacro %}
|
|
|
|
|
2022-07-15 18:16:02 +00:00
|
|
|
<div style="margin:30px 0 0 0;">
|
2022-06-22 18:11:22 +00:00
|
|
|
<nav class="flexbox">
|
|
|
|
<ul>
|
2022-06-26 08:28:21 +00:00
|
|
|
<li>{{ header_link("index", "Notes") }}</li>
|
2022-07-25 20:51:53 +00:00
|
|
|
{% if articles_count %}
|
|
|
|
<li>{{ header_link("articles", "Articles") }}</li>
|
|
|
|
{% endif %}
|
2022-07-01 17:35:34 +00:00
|
|
|
<li>{{ header_link("followers", "Followers") }} <span class="counter">{{ followers_count }}</span></li>
|
|
|
|
<li>{{ header_link("following", "Following") }} <span class="counter">{{ following_count }}</span></li>
|
2022-06-26 16:07:55 +00:00
|
|
|
<li>{{ header_link("get_remote_follow", "Remote follow") }}</li>
|
2022-06-22 18:11:22 +00:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2022-07-15 18:16:02 +00:00
|
|
|
</div>
|
2022-06-22 18:11:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
</header>
|