eudicots / Cactus

Static site generator for designers. Uses Python and Django templates.
BSD 3-Clause "New" or "Revised" License
3.47k stars 313 forks source link

Change /posts/ for blog #152

Open gasatrya opened 9 years ago

gasatrya commented 9 years ago

Hi There, I'm new in Cactus, but it's really cool! :+1:

I'm wondering, how to change /posts/ permalink for blog correctly. For now I just changed this code from blog.py file

Global["config"]["path"] = "posts"

to

Global["config"]["path"] = "artikel"

Then rename the posts folder to artikel. Is that ok?

Thank you.

fedelibre commented 9 years ago

I think that all you have to do is changing this line in plugins/blog.py:

POSTS_PATH = 'posts/'