docpad-plugin-cleanurls icon indicating copy to clipboard operation
docpad-plugin-cleanurls copied to clipboard

Generate custom url output within coffee configuration

Open legenderrys opened this issue 11 years ago • 0 comments

Is it possible to output site pages inside a directory with the "page name" and an "index.html" file inside? This would provide a clean url with a "/" ending in the url address.

Python's Pelican static site generator uses a config file to specify this function simply like so: PAGE_SAVE_AS = '{slug}/index.html'

{slug} would be the page name used in the markdown file.

Thanks

legenderrys avatar Apr 12 '13 18:04 legenderrys