Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New elements are not showing up #10

Open
ghost opened this issue Aug 21, 2020 · 1 comment
Open

New elements are not showing up #10

ghost opened this issue Aug 21, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 21, 2020

Hello :)
I'm a new HUGO user and I installed Raditian theme. I tried to add some things such as description, subtitles or sections in the file data/homepage.yml. But it does not show up.

Where am I wrong? Thanks a lot :)

@JiachengHou-PnR
Copy link

In order for the new sections to show up, you need to have the corresponding partials in the layouts/partials folder, these html files serves as a template to deliver the contents in data/homepage.yml. I just copied and renamed one of the layouts that I like. Then, you have to modify the config.toml file. Add the new sections' names to sections under [params], you can also delete sections you don't want here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant