google / eleventy-high-performance-blog

A high performance blog template for the 11ty static site generator.
https://www.industrialempathy.com/posts/eleventy-high-performance-blog/
MIT License
4.02k stars 284 forks source link

Guidance for base of the blog other than root #32

Closed indcoder closed 4 years ago

indcoder commented 4 years ago

Most blogs will be under the subdirectory blog on their domain, but the repo assumes the blog will be at the root folder.

Is there any guidance/advice for folks with the above scenario? Thanks.

indcoder commented 4 years ago

I had to go into the rabbit hole of finding whats causing this, so read up the upstream eleventy starter blog code and started debugging it : this is a bug inherited from the upstream

https://github.com/11ty/eleventy-base-blog/issues/74

But after solving for this, another issue remains the srcset of the image processing account does not take into account of a pathprefix @cramforce

indcoder commented 4 years ago

To have this blog template work as a subdirectory, there are quite a few changes. Just one of the code commit . We wont be posting any PR for this since the blog is not engineered for this.

https://github.com/HackerspaceMumbai/eleventy-high-performance-blog/commit/89eac6a332fe2f83084db424f40910b8927203fe