microblog.pub/app/templates
Kevin Wallace 48740ea8cb Allow templates to be overridden in data/templates/
I'd like to customize my instance's theme beyond what's possible with
_theme.scss.  This patch would allow me to do that, and keep my changes
self-contained in data/ without maintaining a local patchset over
app/templates/.

For utils.html, I've also added scoped blocks around the body of every
macro.  This allows the macros to be overridden individually in
data/templates/utils.html, without copying the whole file.  For example,
to only override the display of a specific actor's name/icon:

    {% extends "app/utils.html" %}
    {% block display_actor %}
    {% if actor.ap_id == "https://me.example.com" %}
    <!-- custom actor display -->
    {% else %}
    {{ super() }}
    {% endif %}
    {% endblock %}
2022-11-07 18:46:21 +01:00
..
admin_direct_messages.html Only display tiny actor icon for shares 2022-08-26 07:57:10 +02:00
admin_inbox.html Fix minor grammatical issues, mostly in docs 2022-09-16 08:52:43 +02:00
admin_new.html Fix URL generation when not at domain root 2022-11-04 19:22:30 +01:00
admin_outbox.html Fix/imprive Undo support 2022-09-29 08:41:24 +02:00
admin_profile.html Pagination for the admin profile page 2022-08-26 08:10:46 +02:00
admin_stream.html Admin templates tweak 2022-08-02 20:40:43 +02:00
articles.html No more inline CSS 2022-08-29 21:42:54 +02:00
custom_page.html First shot at supporting custom handler 2022-11-02 08:51:21 +01:00
error.html Tweak CSS 2022-09-20 20:00:35 +02:00
followers.html Template fixes 2022-08-18 20:53:51 +02:00
following.html Template fixes 2022-08-18 20:53:51 +02:00
header.html Fix URL generation when not at domain root 2022-11-04 19:22:30 +01:00
index.html No more inline CSS 2022-08-29 21:42:54 +02:00
indieauth_flow.html No more inline CSS 2022-08-29 21:42:54 +02:00
layout.html Fix URL generation when not at domain root 2022-11-04 19:22:30 +01:00
login.html Minor tweaks about non-root handling 2022-11-04 19:28:21 +01:00
lookup.html Improve fetch 2022-09-12 08:04:16 +02:00
notifications.html Improve Block support 2022-10-23 16:37:32 +02:00
object.html Allow to post note with attachments and a CW 2022-09-08 22:20:16 +02:00
remote_follow.html Media proxy cleanup 2022-07-19 08:12:49 +02:00
remote_interact.html Add remote interaction button 2022-09-23 20:09:05 +02:00
utils.html Allow templates to be overridden in data/templates/ 2022-11-07 18:46:21 +01:00