Replies: 1 comment
-
just a follow - up to my own question: The theme therefore did not parse the posts correctly to the homepage. I am still interested in how to modify the homepage (see question above) though! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Jimmy & dear community!
Thanks for making such a beautiful theme!
In Hugo it's possible to add content to the
_index.md
file to be shown on the homepage of the website.I obviously use your theme.
How the content on the homepage is rendered, is defined by the
index.html
template in theme folder.I tried to place the
{{ .Content }}
section in the template - code below correctly, but only with half sucess.If I add content to my
_index.md
after the frontmatter it is not rendered correctly in the dark mode of the theme (the letters are in dark instead of white)Your
index.html
tmplate file of your theme is structured as followed:Where do I add the {{ .Content }} section correctly, so that the content of _index.md in the root of my content-folder is displayed correctly?
Any help would be greatly appreciated!
Thanks for the work you do.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions