lukeorth / poison

Professional Hugo theme for dev bloggers. Based on Mdo's classic Hyde theme.
https://poison.lukeorth.com
GNU General Public License v3.0
205 stars 97 forks source link

Where to put index page to be displayed at page load #45

Closed snowkluster closed 1 year ago

snowkluster commented 1 year ago

I want to a index page to load when at the root of the site like in the example and be able to return to this index page when clicking the brand name.

How do you accomplish this?? @lukeorth

lukeorth commented 1 year ago

Hi @snow-kluster - thanks for the question. Clicking on the brand name (i.e. the title of the site) will take you to whatever path is set as the baseURL in your config file. So if the index of your site exists at https://snowkluster.com, then that's the value that should be set for baseURL in your config file. Does that make sense?

Here's the link to my config.toml file I'm using for the Poison demo site if that helps.

Let me know if you need anything else or if I can close this as complete. :)

snowkluster commented 1 year ago

Hi @snow-kluster - thanks for the question. Clicking on the brand name (i.e. the title of the site) will take you to whatever path is set as the baseURL in your config file. So if the index of your site exists at https://snowkluster.com, then that's the value that should be set for baseURL in your config file. Does that make sense?

Here's the link to my config.toml file I'm using for the Poison demo site if that helps.

Let me know if you need anything else or if I can close this as complete. :)

understood, thanks for the help