I am trying many ways to add all posts to my page, but I am failing. Anybody can help me?
Hi there,
Please have a read about Requesting Help
It is difficult to guess what is wrong with just a screenshot of your code. It is easier to help you if we can see the actual code, not just a screenshot.
This is the website codes: sumiyuru priyasara / my-hugo-website · GitLab
Help make it easier to help you. Which file is this code snippet in? When you run hugo server
, which page are you looking at to see the results?
Edit:
Your content file calender-first-post.md
has a publishdate
set in the future:
publishdate: 2021-12-22T20:08:02+05:30
See docs: Front matter | Hugo
publishDate
if in the future, content will not be rendered unless the
--buildFuture
flag is passed tohugo
.
Thank you, sir, I missed that
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.