mtn / cocoa-eh-hugo-theme

A enhanced version of Cocoa. Clean, fast, and responsive theme with cool typography.
https://themes.gohugo.io/theme/cocoa-eh-hugo-theme/
MIT License
224 stars 111 forks source link

Correct date behaviour on sections. [#124] #125

Closed v-shenoy closed 5 years ago

v-shenoy commented 5 years ago

Created a separate variable for storing the key, and moved the \<li> element inside the if-statement.

v-shenoy commented 5 years ago

The date appears multiple times which isn't the desired effect. Will try to fix, and reopen.

mtn commented 5 years ago

Thank you! I'll check and merge this soon.

mtn commented 5 years ago

Okay, so there is still a lingering issue from another pull request -- the post that's meant to create section text gets rendered under the list of all posts. I'm going to add a commit to this PR to fix that, and then this should be ready. I'll wait a bit before merging it, so it'd be great if you could check my work!

Edit: Apparently this doesn't happen with exampleSite, investigating. Edit: Figured out why, it was unrelated and intended.