Problem
Several duplication smells:
.about-photo and .blog-photo are identical except object-position.
_layouts/post.html re-declares .page-header styling that main.css already has.
- Every post hand-duplicates its front-matter title in a body
<h1 class="page-title">, inviting the two to drift apart.
- The head repeats the same excerpt/description fallback chain three times where a single
{% capture %} would do.
Proposal
Merge the photo classes, drop the redundant inline styles, render the post <h1> (and header image) from front matter in the post layout, and capture the meta description once. Specs locating by class or asserting titles must follow.
Please read how to contribute
Problem
Several duplication smells:
.about-photoand.blog-photoare identical exceptobject-position._layouts/post.htmlre-declares.page-headerstyling thatmain.cssalready has.<h1 class="page-title">, inviting the two to drift apart.{% capture %}would do.Proposal
Merge the photo classes, drop the redundant inline styles, render the post
<h1>(and header image) from front matter in the post layout, and capture the meta description once. Specs locating by class or asserting titles must follow.Please read how to contribute