Custom footer support

This commit is contained in:
Thomas Sileo 2022-08-24 21:18:30 +02:00
parent 953a6c3b91
commit d43bf54609
4 changed files with 23 additions and 5 deletions

View file

@ -27,6 +27,7 @@ from app.ap_object import Attachment
from app.ap_object import Object
from app.config import BASE_URL
from app.config import CSS_HASH
from app.config import CUSTOM_FOOTER
from app.config import DEBUG
from app.config import VERSION
from app.config import generate_csrf_token
@ -132,6 +133,7 @@ async def render_template(
select(func.count(models.Following.id))
),
"actor_types": ap.ACTOR_TYPES,
"custom_footer": CUSTOM_FOOTER,
**template_args,
},
status_code=status_code,