short.html
Short notes without context or introduction.
-
2026-01-02
Looks like the first thing one needs when using
{{ page.content }}is to get rid of the enclosing<p>...</p>, while also keeping any nested paragraphs. Soremove_firstbut there’s noremove_last. Reversing and removing the reversed enclosing tag somehow works but does not return a string whenjoining. So there’s a local string filterchop_paragraph(_plugins/custom_filters.rb in git).