diff --git a/templates/index.html b/templates/index.html index a103f7f..c0b253f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,12 +34,17 @@ {# ───────── News (loaded from content/news.md) ───────── #} +{# Mirror live's news.html.twig: section-title always wraps the h2 in + `.anchor` (with empty id), and the content lands inside an outer
+ tag — the auto-close on the first inner
yields one leading + empty
, which contributes the 10px-margin that Grav's markdown + pipeline produces. #} {% set news_page = get_page(path="news.md") %}{{ news_page.content | safe }}