mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
More template markup tweak
This commit is contained in:
parent
a0a756d320
commit
f8adf01678
6 changed files with 12 additions and 6 deletions
|
@ -7,6 +7,7 @@
|
||||||
<div id="container">
|
<div id="container">
|
||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
|
|
||||||
|
<main>
|
||||||
<div id="followers">
|
<div id="followers">
|
||||||
{% for meta in followers_data %}
|
{% for meta in followers_data %}
|
||||||
{% set follower = meta.actor %}
|
{% set follower = meta.actor %}
|
||||||
|
@ -27,6 +28,7 @@
|
||||||
{{ utils.display_pagination(older_than, newer_than) }}
|
{{ utils.display_pagination(older_than, newer_than) }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block links %}
|
{% block links %}
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
|
|
||||||
<div id="notes">
|
<main id="notes">
|
||||||
{% for item in pinned %}
|
{% for item in pinned %}
|
||||||
{% if item.meta.pinned %}
|
{% if item.meta.pinned %}
|
||||||
<p style="margin-left:65px;padding-bottom:5px;">
|
<p style="margin-left:65px;padding-bottom:5px;">
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{{ utils.display_pagination(older_than, newer_than) }}
|
{{ utils.display_pagination(older_than, newer_than) }}
|
||||||
</div>
|
</main>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -46,9 +46,9 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<main class="base-container">
|
<div class="base-container">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</main>
|
</div>
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div>
|
<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
|
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
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div id="container">
|
<div id="container">
|
||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
|
<main>
|
||||||
{{ utils.display_thread(thread, likes=likes, shares=shares) }}
|
{{ utils.display_thread(thread, likes=likes, shares=shares) }}
|
||||||
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block links %}<link rel="alternate" href="{{ note.activity.object.id}}" type="application/activity+json">{% endblock %}
|
{% block links %}<link rel="alternate" href="{{ note.activity.object.id}}" type="application/activity+json">{% endblock %}
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div id="container">
|
<div id="container">
|
||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
|
<main>
|
||||||
<h2 style="font-weight:normal">Remote follow @<span class="gold">{{ config.USERNAME }}</span>@<span class="gold">{{ config.DOMAIN }}</span></h2>
|
<h2 style="font-weight:normal">Remote follow @<span class="gold">{{ config.USERNAME }}</span>@<span class="gold">{{ config.DOMAIN }}</span></h2>
|
||||||
|
|
||||||
<form method="POST" action="">
|
<form method="POST" action="">
|
||||||
|
@ -12,6 +13,6 @@
|
||||||
<input type="text" name="profile" placeholder="you@your-instance">
|
<input type="text" name="profile" placeholder="you@your-instance">
|
||||||
<input type="submit" value="Follow">
|
<input type="submit" value="Follow">
|
||||||
</form>
|
</form>
|
||||||
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -20,13 +20,14 @@
|
||||||
<data class="p-name" value="#{{tag}}">
|
<data class="p-name" value="#{{tag}}">
|
||||||
|
|
||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
|
<main>
|
||||||
<h2>#{{ tag }}</h2>
|
<h2>#{{ tag }}</h2>
|
||||||
<div id="notes">
|
<div id="notes">
|
||||||
{% for item in outbox_data %}
|
{% for item in outbox_data %}
|
||||||
{{ utils.display_note(item.activity.object, meta=item.meta) }}
|
{{ utils.display_note(item.activity.object, meta=item.meta) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block links %}
|
{% block links %}
|
||||||
|
|
Loading…
Reference in a new issue