kopia lustrzana https://github.com/Aonrud/ila-microblog.pub
Porównaj commity
3 Commity
da10887d5f
...
7f548ee349
Autor | SHA1 | Data |
---|---|---|
Aonrud | 7f548ee349 | |
Aonrud | f2d4dbc886 | |
Aonrud | d15f848c91 |
|
@ -232,9 +232,6 @@ header.microblog {
|
|||
border: none;
|
||||
display: flex;
|
||||
padding: 0;
|
||||
padding-left: 65px;
|
||||
margin: 1em 0 1em -65px;
|
||||
max-width: calc(100% + 65px);
|
||||
}
|
||||
|
||||
.activity-og-meta {
|
||||
|
@ -260,6 +257,9 @@ header.microblog {
|
|||
|
||||
.activity-attachment {
|
||||
flex-wrap: wrap;
|
||||
padding-left: 65px;
|
||||
margin: 1em 0 1em -65px;
|
||||
max-width: calc(100% + 65px);
|
||||
&.single {
|
||||
.attachment-item, .attachment-wrapper {
|
||||
max-height: fit-content;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<h4><span class="fas fa-share-nodes fa-fw"></span> @ila@leftarchive.ie</h4>
|
||||
<p>This site is built using <a href="https://microblog.pub/" rel="external" class="external-link">Microblog.pub <span class="fas fa-external-link-alt"></span></a>, a single-user ActivityPub microblog.</p>
|
||||
<p>You can <a href="/remote_follow">follow @ila@leftarchive.ie</a> from any Fediverse account, such as Mastodon, Pixelfed, Peertube etc.</p>
|
||||
<p><a class="btn" href="https://github.com/Aonrud/ila-microblog.pub/tree/ila"><span class="fab fa-github"></span> View the ILA Micropub repo <span class="fas fa-arrow-right"></span></a></p>
|
||||
<p><a class="btn" href="https://github.com/Aonrud/ila-microblog.pub/tree/ila"><span class="fab fa-github"></span> The code for this site is available on Github <span class="fas fa-arrow-right"></span></a></p>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -23,34 +23,39 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% if outbox_object %}
|
||||
{% include "header.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% macro display_replies_tree(replies_tree_node) %}
|
||||
|
||||
{% if replies_tree_node.is_requested %}
|
||||
{{ utils.display_object(replies_tree_node.ap_object, likes=likes, shares=shares, webmentions=webmentions, expanded=not replies_tree_node.is_root, is_object_page=True, is_h_entry=False) }}
|
||||
{% else %}
|
||||
{% if replies_tree_node.wm_reply %}
|
||||
{# u-comment h-cite is displayed by default for webmention #}
|
||||
{{ utils.display_webmention_reply(replies_tree_node.wm_reply) }}
|
||||
{% else %}
|
||||
<div class="u-comment h-cite">
|
||||
{{ utils.display_object(replies_tree_node.ap_object, is_h_entry=False) }}
|
||||
</div>
|
||||
{% if outbox_object %}
|
||||
{% include "header.html" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% for child in replies_tree_node.children %}
|
||||
{{ display_replies_tree(child) }}
|
||||
{% endfor %}
|
||||
<div class="row">
|
||||
<main class="col-sm-8">
|
||||
{% macro display_replies_tree(replies_tree_node) %}
|
||||
|
||||
{% endmacro %}
|
||||
{% if replies_tree_node.is_requested %}
|
||||
{{ utils.display_object(replies_tree_node.ap_object, likes=likes, shares=shares, webmentions=webmentions, expanded=not replies_tree_node.is_root, is_object_page=True, is_h_entry=False) }}
|
||||
{% else %}
|
||||
{% if replies_tree_node.wm_reply %}
|
||||
{# u-comment h-cite is displayed by default for webmention #}
|
||||
{{ utils.display_webmention_reply(replies_tree_node.wm_reply) }}
|
||||
{% else %}
|
||||
<div class="u-comment h-cite">
|
||||
{{ utils.display_object(replies_tree_node.ap_object, is_h_entry=False) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<div class="h-entry">
|
||||
{{ display_replies_tree(replies_tree) }}
|
||||
</div>
|
||||
{% for child in replies_tree_node.children %}
|
||||
{{ display_replies_tree(child) }}
|
||||
{% endfor %}
|
||||
|
||||
{% endmacro %}
|
||||
|
||||
<div class="h-entry">
|
||||
{{ display_replies_tree(replies_tree) }}
|
||||
</div>
|
||||
</main>
|
||||
<aside class="col-sm-4">
|
||||
{% include "sidebar.html" %}
|
||||
</aside>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Ładowanie…
Reference in New Issue