mirror of
https://github.com/svemagie/indiekit-endpoint-activitypub.git
synced 2026-04-02 15:44:58 +02:00
fix: remove duplicate page headings across all AP templates
document.njk already renders title as h1 via the heading macro. All 14 AP templates were also calling heading() with level 1 inside their content block, producing two h1 elements per page. Removed the redundant calls and moved dynamic count prefixes into the title variable in followers/following controllers.
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
{% from "heading/macro.njk" import heading with context %}
|
||||
|
||||
{% block readercontent %}
|
||||
{{ heading({ text: title, level: 1 }) }}
|
||||
|
||||
<div class="ap-post-detail" data-mount-path="{{ mountPath }}">
|
||||
{# Back button #}
|
||||
<div class="ap-post-detail__back">
|
||||
|
||||
Reference in New Issue
Block a user