New post does not have demoted headings tags
skydread1 opened this issue · 0 comments
skydread1 commented
Problem
The option :demote-headings
is not provided to the new-post in
[:section.container
{:class (name page-name)
:key (name page-name)}
[:h1 page-name]
[page-post new-post] ;; :demote-headings missing
(doall
(for [post sorted-posts]
(if (= :blog page-name)
(blog-post-short post)
(page-post post :demote-headings))))]
This creates an additional h1 tag on top of the inconsistent css.