No description
Find a file
Tom L c18c3d60f2 Implement clean URLs feature (Issue #89)
When `clean-urls?` is set in config, emit pages as subdirectories
`prefix/root/page-name/index.html` instead of
`prefix/root/page-name.html`. Links in emitted HTML then point to
`prefix/root/page-name/`. When `clean-urls?` not set, behaves as
before.

Refactor most URI generation into a new `page-uri` function.
`page-uri` replaces most calls* to `path`, all calls to `post-uri`
and all calls to the old `page-uri`.

Introduce function `create-file-recursive`. Function creates
file parent if not exists.

Introduce function `write-html`. When `clean-urls?` is set, spits
emitted HTML into subdirectories as described above; otherwise
behaves like `create-file`. Replaces most* calls to `create-file`
Calls `create-file` or `create-file-recursive`.

* Exceptions made for sitemap XML and RSS feed XML pages
2016-02-11 20:04:56 -06:00
src/cryogen_core Implement clean URLs feature (Issue #89) 2016-02-11 20:04:56 -06:00
test/cryogen_core content-with-more-marker returns with correct tags 2016-01-11 21:30:21 +09:00
.gitignore Initial commit 2014-12-04 11:38:48 -05:00
LICENSE Initial commit 2014-12-04 11:38:48 -05:00
project.clj Bump up version 2016-02-09 22:34:50 -05:00
README.md Updated versioneye badge 2015-01-29 22:58:49 -05:00

cryogen-core

Dependency Status

Cryogen's compiler.

Leiningen

Clojars Project

License

Copyright © 2014 Carmen La

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.