sintaxi / harp

Static Web Server/Generator/Bundler
http://harpjs.com
4.99k stars 346 forks source link

404 Styling Does Not Apply For Paths Within Directories #661

Open rpartha opened 4 years ago

rpartha commented 4 years ago

If I visit /<bad path>, the 404 page renders with proper styling. However, if I visit /writings/<bad path>, the styling is NOT applied. I can see that it is still picking the root _layout as I can see it is looking for the stylesheet in /writings/assets/css/ when it should be ../assets/css/ even when I specify a separate layout. Please help me if I'm missing anything, otherwise I think this is a bug.