LukeSmithxyz / lugo

Luke's Hugo Theme
172 stars 62 forks source link

simplify lugo with base templates and blocks #10

Closed shaharbest closed 2 years ago

shaharbest commented 2 years ago

problem: in partials directory header.html contain the opening tags <body> and <main> and footer.html contain </article>, </main> and </body>.

It's much easier to follow and maintain the project if all opening tags will be closed at the same template.

based.cooking homepage contain an extra unnecessary </article> because of the difficulty of following the page final structure.

I recommend embracing the base templates and blocks (docs)

LukeSmithxyz commented 2 years ago

Yeah, I'll probably change this when I get the chance if someone doesn't PR it.