jnordberg / wintersmith

A flexible static site generator
http://wintersmith.io/
MIT License
3.5k stars 332 forks source link

[Question/Bug?] Archives shows '404 Not Found' after I changed config "baseUrl" #352

Open Kotsuha opened 2 years ago

Kotsuha commented 2 years ago

In my real site I want to put the blog under a blog folder like this:

root
├───blog <-- Wintersmith blog!
│   ├───articles
│   │   ├───...
│   │   │   └───img
│   │   ├───...
│   │   └───...
│   │       └───...
│   ├───css
│   └───page
│       ├───2
│       └───3
└───other-stuff
    └───...

I changed the baseUrl in config.json to /blog/ and all stuff works fine except the « Archives still points to http://localhost:8081/archive.html.

Kotsuha commented 2 years ago

The 'The Wintersmith's blog' site title also points to wrong URL http://localhost:8080/. Should be localhost:8081/blog.

Kotsuha commented 2 years ago

Oops! Sorry for the messy comments. The site generated by wintersmith build also has some wrong URLs. The site title still points to http://localhost:8080. It should be a true URL.