posativ / acrylamid

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

Fixed bug https://github.com/posativ/acrylamid/issues/251 #252

Closed pop closed 2 years ago

pop commented 8 years ago

For some reason if you had multiple types of entries (say two completely seperate blogs (blog1 and blog2), the permalinks for all blogs would get set to either /blog1/* or /blog2/* (with the /blog{1,2}/:slug/ view rules).

This fixes it so the permalink for a given entry, if not already set, is assigned correctly.

The only changes occured in acrylamid/views/entry.py.

It was basically a one-line fix.

fixes #251

pop commented 8 years ago

I thought this issue was fixed but env.prev and env.next don't actually point to the correct permalinks either.

Working on a fix now.