gnu-social/templates/actor/view.html.twig
Eliseu Amaro e70acd5c3b
[UTIL][HTML] HTML abstraction class was extended with a more specialised Heading class
This little abstraction layer made it a bit easier to add a different title to a Note or Actor Feed Collection template, from whichever controller that uses it. Please, bear in mind, that abstract templates such as those found in Components\Collection, may act in a very 'declarative' way upon using them. This makes it difficult to dynamically choose what type of header is used without undergoing a mining operation in the likes of a pyramid of doom. Hence, this _little_ change.
2022-02-16 18:53:08 +00:00

14 lines
306 B
Twig

{% extends '/collection/notes.html.twig' %}
{% block title %}
{% if page_title is defined %}
{{ page_title }}
{% endif %}
{% endblock %}
{% block body %}
{% include 'cards/blocks/profile.html.twig' with { profile_card_type: 'main' } %}
<hr>
{{ parent() }}
{% endblock body %}