Pretty URLs

Some updates on the development of Panda (on git).

Customize file naming conventions:

## db date format

post_date_format    = %y-%m-%d
comment_date_format = %y-%m-%d %T

Customize how post urls are generated / parsed:

## pretty url

### example wordpress style
#- url_date_format          = %Y/%m/%d
#- url_date_matcher         = \d{4}/\d{2}/\d{2}
#- url_title_subs           = (" ", "-")
#- url_date_title_seperator = /

These are pretty advanced settings, leaving them out completely in site.txt will use the old default style.

A development note:

There are many more things could be made configurable to the end user. See Panda/Config/Global.hs, not exposed to keep it simple.

blog comments powered by Disqus