dmulholl / ark

A static website generator for people who enjoy the simpler things in life.
https://www.dmulholl.com/docs/ark/master/
The Unlicense
118 stars 7 forks source link

Automenu extension sometimes adds extra '.html' #1

Closed averms closed 3 years ago

averms commented 3 years ago

As you can see from this debug output: https://gistcdn.rawgit.org/a-vrma/1c656d7ec6cd451a1259938d8ed170f1/e16ba97f1769a5ba150a83a65a70ab4a6e3047ad/index.html

zzz.html.html is the url but the actual file on disk is called zzz.html

averms commented 3 years ago

This is my src directory to reproduce with

src.zip

dmulholl commented 3 years ago

Fixed in v3.3.1.

That was a tough bug to figure out. Turned out to be a problem I introduced when I added caching to the Node.path property.

Thanks for letting me know!

averms commented 3 years ago

No, thank you for the extremely quick bug fix! I tried looking at it myself with pdb but got bored after a few minutes.