I noticed a minor issue with the post.njk layout. Leading and trailing whitespace is stripped from the .post-tag anchor elements. As a result, when styles are disabled, these elements run against each other.
This doesn't happen to tags in other layouts where some whitespace is preserved.
Could the solution be to allow some whitespace and wrap these <time> and <a>-s in post.njk in a flex container? Maybe this way, when styles are enabled, we avoid getting " " + element's margin.
P.S. Eleventy is awesome! 😄 This template is a great starting point.
I noticed a minor issue with the
post.njk
layout. Leading and trailing whitespace is stripped from the.post-tag
anchor elements. As a result, when styles are disabled, these elements run against each other.This doesn't happen to tags in other layouts where some whitespace is preserved.
Could the solution be to allow some whitespace and wrap these
<time>
and<a>
-s inpost.njk
in a flex container? Maybe this way, when styles are enabled, we avoid getting " " + element's margin.P.S. Eleventy is awesome! 😄 This template is a great starting point.