posativ / acrylamid

(unmaintained) static blog generator in python with incremental rendering ⛺
http://posativ.org/acrylamid/
Other
277 stars 40 forks source link

Doubleslash #183

Closed vbeffara closed 11 years ago

vbeffara commented 11 years ago

Hi, me again ...

The variable conf['output_path'] ended up with a double-slash, making the string.replace in sitemap.py do nothing, and generating an invalid sitemap as a result. Use normpath to fix that.

Maybe os.path.join everywhere instead of a+"/"+b would lead to simpler code? Hard to follow all the added trailing slashes and stripped again trailing slashes sometimes ...

posativ commented 11 years ago

Yep, thanks.