nicokaiser / hugo-theme-gallery

Gallery Theme for Hugo
https://nicokaiser.github.io/hugo-theme-gallery/
MIT License
305 stars 85 forks source link

How to change home page welcome text and description #38

Closed Shbu closed 6 months ago

Shbu commented 7 months ago

Hi @nicokaiser Thank you so much for the excellent gallery theme. Really liking it!

I was wondering, in the hugo.toml file, I see we have 'title' value that applies to the website name, which is in the left top corner of the page. There is also 'title' under params, I assume this is for home page title, center of the page. How do I edit just the welcome title and add a description to it? Below code doesn't seem to be working for me. The main website title applies to both areas. Description doesn't show up at all. Could you help, thanks.

image

`title = "Website" languageCode = "en" disableKinds = ["taxonomy", "term"] defaultContentLanguage = "en" enableRobotsTXT = true

[params] title = "Gallery" description = "Example site for hugo-theme-gallery"`

nicokaiser commented 7 months ago

Hello @Shbu! Thank you, glad you like the theme! You can adjust the text on the homepage in the content/_index.md file, since the homepage is technicall just a normal list of albums. Please let me know if this works for you!

Shbu commented 7 months ago

Thank you very much! It worked.