-
My initial Hugo implementation was ~2y ago so I've been trying to get current recently. The last minor issue that I'm encountering is driving me nuts. I use homepage.showRecent in params.toml to showcase posts on my homepage. Before upgrading to latest Hugo and Congo, I had an edit to the partial to change the style and text of this.
However, I can't seem to override "Recent" in extrabold being the style and text that is displayed on my homepage. I've poured over every reference for this and am coming up empty. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
is your repo and site available someplace we can take a peek at it? |
Beta Was this translation helpful? Give feedback.
looks like this is the file yer wanting to override:
https://github.com/nanowatts/nanowatts.net/blob/5fff4be5d8d93711ebdb83deb88f2bf116b2b04b/themes/congo/layouts/partials/recent-articles.html#L2
so... create a 'layouts' folder in the root of your project....
follow the directory structure of congo's
layouts
.put the file you're trying to modify in your layouts folder.
That will tell hugo to use your version of the layout/partial instead of congo's version1.
that bit in and of itself may be sufficient to resolve the problem you're having...
if I grok correctly... something like this might help?