Help debugging/building a custom blog widget #1934
Replies: 2 comments 2 replies
-
A couple of things stand out. Might be more, but this is what I was able to find at first look: Content created on the path If you set the So:
Give this a go or alternatively don't use the widget page stuff! Just add a your Just making sure my path notation makes sense. When a path begins with |
Beta Was this translation helpful? Give feedback.
-
@chrede88 Thanks for these suggestions, I'll definitely try them out and get back to you...
Just to be clear all of this content will be rendered at
I tried this already, if I do remove
I apologize I did not note this correctly in the question, I have not fixed it. This is correct, this is the location I have for the blog.html file based on wowchemy docs. the problem I guess was having a new |
Beta Was this translation helpful? Give feedback.
-
I'm trying to add a custom blog widget for my website, so that I can have a blog along the lines of https://github.com/themefisher/liva-hugo within my current academic themed website.
I was hoping for some help in debugging certain issues I was having (I'm no expert at hugo and go templating blocks itself, so please excuse any obvious errors).
What have I done so far?
content/blog/index.md
content/blog/blog.md
and a basic widget html at
layouts/partials/widgets/blog.html
However nothing in the
blog.html
in the following block seems to show up on the site? Is this not a valid pattern?Beta Was this translation helpful? Give feedback.
All reactions