mrmierzejewski / hugo-theme-console

A minimal, responsive and light theme for Hugo inspired by Linux console.
MIT License
393 stars 118 forks source link

Just a thought on a tiny improvement maybe on this theme #32

Closed dupeliuhao closed 2 years ago

dupeliuhao commented 2 years ago

Hi Marcin,

I really like this theme and I finally figured everything out. I am not sure if this is problem with my setup or it is what it is for this theme. The "terminal" like header with path showing will point me to 404 page instead of directing me to the right page. Let me give an example to make sure I clarify it clearly. For instance below, I am on the "Introduction" single page html from example site, as showed in the image below: suggestions

If I click on "My New Hugo Site", it will correctly point me to the main page, which is expected. However, if I click on "posts", or click on "What is Hugo", it will give me an 404 error. Is this a problem on my side when I set things up ? Or this is just what it is for this theme. If it's the latter case, Is there any plan to improve it so that when I click on them, they will direct me to the right pages?

Best, dupeliuhao

mrmierzejewski commented 2 years ago

Could you please send me URLs to these pages? Where do you host them?

dupeliuhao commented 2 years ago

Could you please send me URLs to these pages? Where do you host them?

Here is the link of my testing site www.windypanda.com

mrmierzejewski commented 2 years ago

Please add ending slash to your config.toml file to every link, e.g.: baseurl = "https://www.windypanda.com/"

dupeliuhao commented 2 years ago

Please add ending slash to your config.toml file to every link, e.g.: baseurl = "https://www.windypanda.com/"

Thank you so much!. Now it works! After renaming my test.md to index.md inside my test post directory. Nice!