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">
|
||||
{% include "header.html" %}
|
||||
|
||||
<main>
|
||||
<div id="followers">
|
||||
{% for meta in followers_data %}
|
||||
{% set follower = meta.actor %}
|
||||
|
@ -27,6 +28,7 @@
|
|||
{{ utils.display_pagination(older_than, newer_than) }}
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block links %}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
{% include "header.html" %}
|
||||
|
||||
<div id="notes">
|
||||
<main id="notes">
|
||||
{% for item in pinned %}
|
||||
{% if item.meta.pinned %}
|
||||
<p style="margin-left:65px;padding-bottom:5px;">
|
||||
|
@ -62,7 +62,7 @@
|
|||
{% endfor %}
|
||||
|
||||
{{ utils.display_pagination(older_than, newer_than) }}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -46,9 +46,9 @@
|
|||
{% endif %}
|
||||
|
||||
|
||||
<main class="base-container">
|
||||
<div class="base-container">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
<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
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
{% block content %}
|
||||
<div id="container">
|
||||
{% include "header.html" %}
|
||||
<main>
|
||||
{{ utils.display_thread(thread, likes=likes, shares=shares) }}
|
||||
</main>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block links %}<link rel="alternate" href="{{ note.activity.object.id}}" type="application/activity+json">{% endblock %}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
{% block content %}
|
||||
<div id="container">
|
||||
{% include "header.html" %}
|
||||
<main>
|
||||
<h2 style="font-weight:normal">Remote follow @<span class="gold">{{ config.USERNAME }}</span>@<span class="gold">{{ config.DOMAIN }}</span></h2>
|
||||
|
||||
<form method="POST" action="">
|
||||
|
@ -12,6 +13,6 @@
|
|||
<input type="text" name="profile" placeholder="you@your-instance">
|
||||
<input type="submit" value="Follow">
|
||||
</form>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -20,13 +20,14 @@
|
|||
<data class="p-name" value="#{{tag}}">
|
||||
|
||||
{% include "header.html" %}
|
||||
<main>
|
||||
<h2>#{{ tag }}</h2>
|
||||
<div id="notes">
|
||||
{% for item in outbox_data %}
|
||||
{{ utils.display_note(item.activity.object, meta=item.meta) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block links %}
|
||||
|
|
Loading…
Reference in a new issue