199 Commits (3c415f48e091e8a7ce94dcb68c46210a12bc6696)
 

Author SHA1 Message Date
Michael Jerger 3c415f48e0 Added navmap feature.
Navmap will allow nested navigation for pages. To 
* add a page to navmap, you've to add `{:navmap? true}` to pages meta.
* define navigation hierarchy you can use directory-structure (first
level will be in /pages/nav1.md, second level will be in
/pages/nav1/nav11.md)
* use navmap, you can 
  * access navmap-pages (sequence of pages) in your template, same as
you've used navbar-pages and
  * access navigation childs as :navmap-children in specific pages (eg.
nav1 will contain a sequence of one page representing nav11).
8 years ago
Michael Jerger 78e4a6d067 fixed navbar-pages bug 8 years ago
Michael Jerger 773ee269b9 add some more debug options 8 years ago
Michael Jerger 173472e9df prepare pull request 8 years ago
Michael Jerger e796a5adc5 added debug switch & improved home vs. preview handling 8 years ago
Michael Jerger 0e882e6637 gitignore 8 years ago
Michael Jerger 60b395e047 added ability to select one page as home-page (add :home? true as meta)
instead of newest post.
8 years ago
Carmen La e3d2d3f433 Fix npe 8 years ago
Carmen La 551a8e5c21 Bump version 8 years ago
Carmen La cfb8e4cc0d Bump selmer version 8 years ago
Carmen La fb0dc9e1d4 Merge pull request #77 from SVMBrown/master
conditionally drop any posts with dates set in the future
8 years ago
Carmen La 31d51def2f Merge pull request #78 from tuhlmann/master
Provided fixes make cryogen work on Windows.
8 years ago
Torsten Uhlmann 998fc077e8 Provided fixes make cryogen work on Windows.
The path is converted to forward slash before further processed
The executables for sass and compass are configurable, that's because
on a Windows installation they are named sass.bat and compass.bat
The default is still the Unix version.
8 years ago
Torsten Uhlmann ca2513f954 Merge pull request #1 from cryogen-project/master
Update cryogen-core to latest version
8 years ago
Scot Brown 1a75abb0e4 conditionally drop any posts with dates set in the future 8 years ago
Carmen La bb4d772611 Bump version, update deps 8 years ago
Carmen La 78804d61e8 Merge pull request #75 from benswift/master
bugfix for `compass-installed?`
8 years ago
Ben Swift c9828f6cc3 nicer pretty-printing of "compiling sass" 8 years ago
Ben Swift a66f8df5e4 in compile-sass-file!, sh doesn't like nil arg when no compass 8 years ago
Ben Swift fc1d1d725c bugfix for compass-installed?
catch the (previously uncaught) exception when there isn't a `compass`
binary on the `$PATH`, return `false` instead
8 years ago
Carmen La a4ab7f1409 Merge pull request #71 from matsu911/master
Fix toc entries for titles which are links
8 years ago
Shigeaki Matsumura 9858723403 fix toc entry for title which has a link 8 years ago
Carmen La fb80203554 Merge pull request #70 from matsu911/master
support sub directories in pages and posts
Resolves #57
8 years ago
Shigeaki Matsumura 510c33c23d support sub directories in pages and posts 8 years ago
Carmen La 98992b70de bump up deps and version number 8 years ago
Carmen La 52457c7b64 Add `:today` key to params for compiling posts 8 years ago
Arsene Rei 272d688010 Add test for no directories 8 years ago
Arsene Rei f383661e5e Fallback to resources/templates/{pages,posts}
By default, when using markdown files, Cryogen will look for
`resources/templates/md/pages/*.md`. This commits allows Cryogen to fall back to
`resources/templates/pages/*.md` in the case that it can't find any files in the
former directory. It works similarly for posts and Asciidoc files.

Since we're looking specifically for `*.md` for Markdown files and `*.asc` for
Ascii files, this is an opportunity to eliminate redundancy.
8 years ago
Carmen La 3e7d43b212 update dependencies/version 8 years ago
Carmen La ca8d5fe872 Bump version and dependencies 8 years ago
Carmen La 1f7fdd0cbe Merge branch 'jstepien-hawk' 8 years ago
Jan Stępień 0d1149a9c2 Use Hawk in cryogen-core.watcher
This is a follow-up to PR #46. It replaces the 300ms loop with a file
watcher. Hawk is a wrapper around java.nio.file.WatchService coming with
proper OS X support.

Now rebuilds should be instantaneous.
8 years ago
Carmen La ef1422c42c Bump up version 8 years ago
Carmen La 42d4a9098c Merge pull request #65 from dhable/master
Make archive grouping configurable
8 years ago
Dan Hable 683bcad292 Make archive grouping configurable
The blog that I'm moving to cryogen currently groups the posts by year instead of by year/month. This change makes the grouping configurable while defaulting to the current behavior of year/month grouping on posts.
8 years ago
Carmen La 36656de029 Update dependencies 8 years ago
Carmen La a1e783d44f Merge pull request #64 from cqsd/clean-urls
Implement clean URLs feature 
Issue #89 in cryogen-project/cryogen
8 years ago
Tom L 0c4156f43f Add servlet context to tags, archives rendering. 9 years ago
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
9 years ago
Carmen La b3bdba2804 Bump up version 9 years ago
Carmen La 2635126ca3 Merge pull request #63 from tomasz-biernacki/authors
Add multiple authors filtering support
9 years ago
Tomasz Biernacki c84b550f92 Add multiple authors filtering support 9 years ago
Carmen La 394ff37643 Bump up version 9 years ago
Carmen La 4989fc04d7 Merge pull request #62 from tomasz-biernacki/rss-auth-desc
Add author and (short) description for RSS
9 years ago
Tomasz Biernacki e5395a362a Add author and (short) description for RSS 9 years ago
Yogthos e1a03943c4 bumped up dependency 9 years ago
Dmitri Sotnikov c0a3084d39 bumped up dependencies and version 9 years ago
Carmen La a0cf654453 Bump up version 9 years ago
Carmen La 69385c1f22 Merge pull request #61 from seanirby/patch-1
Add home to index params when previews are enabled
9 years ago
Sean 852b431d71 Add home to index params when previews are enabled 9 years ago