Closed jamesbraza closed 10 months ago
I really thought putting metadata at bottom is weird. All blogs has metadata before content. Let me know if you want legacy layout?
My view is to focus on the core content, and less on word count, Git commit, Hugo tag, etc. So I liked putting post metadata on the bottom.
If you don't want to support this expanded post configuration, I can just override the posts/single.html
layout myself. Let me know if you feel like implementing this 🤓 👍
Sure, that won't be a problem. I will copy paste from OG single.html with an if statement.
It will be 'enableLegacyLayout:true' in hugo.toml
I wonder if you could make the post metadata a partial, and then use that within the if
statement for DRY code
That's exactly my 2nd thought.
Suffering from acid reflux today, will push tomorrow.
Pushed a change.
Make legacyLayout
to true in hugo.toml
You can extend partial from /theme/layouts/partials/posts_single_info.html
to edit page info according to your needs.
Closing this issue. Re-open if required.
Wonderful! Will give it a try, I think this is the last change I will need to complete my migration to this theme. Thanks again!
The original hermit theme placed post metadata like tags, Git commit, and word count on the bottom of the post.
It seems hermit-V2 is placing that metadata on the top of a post. Is there any way to control if metadata goes at the top or bottom or the page?