Commit graph

311 commits

Author SHA1 Message Date
Carmen La
abf45945d0 Merge pull request #82 from madstap/master
Depend on enlive instead of tagsoup (to be able to upgrade to clojure 1.9.0)
2017-01-15 23:32:15 -05:00
Aleksander Madland Stapnes
dbd5caaf1f Replace tagsoup dependency with enlive
Tagsoup depends on an old version of clojure.data.xml, which doesn't
compile with clojure 1.9.0-alpha12. Enlive seems more actively
maintained and used.
2017-01-15 05:30:25 -03:00
Aleksander Madland Stapnes
9c7c935d66 Style pedantry: Remove trailing whitespace.
My emacs did it...
2017-01-15 05:17:48 -03:00
65cd1f5997 adjust project name 2017-01-05 17:35:34 +01:00
6a4ede6117 gitgnore ... 2017-01-05 17:32:23 +01:00
1ea38c5b84 respect :page-index order for navmap 2017-01-05 17:10:07 +01:00
0d4a9c90f6 Merge branch 'master' into master 2017-01-04 09:44:10 +01:00
b6b8ebfa22 undo project renaming 2017-01-04 09:41:18 +01:00
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).
2017-01-04 09:36:50 +01:00
78e4a6d067 fixed navbar-pages bug 2017-01-04 09:36:37 +01:00
Carmen La
e7a4172237 promote from snapshot to release 2017-01-04 00:25:13 -05:00
Carmen La
247c512fd5 Merge pull request #80 from SVMBrown/master
Fix symbol not found exception in compile-assets function
2017-01-03 23:57:42 -05:00
Scot Brown
6d28af459f Fix symbol not found exception in compile-assets function 2017-01-03 16:38:57 -05:00
Carmen La
5bb7c5b3fb Merge pull request #79 from DomainDrivenArchitecture/master
enhanced homepage handling & debug option
2016-12-31 17:12:38 -05:00
773ee269b9 add some more debug options 2016-12-31 15:48:52 +01:00
173472e9df prepare pull request 2016-12-31 11:26:37 +01:00
e796a5adc5 added debug switch & improved home vs. preview handling 2016-12-31 11:20:09 +01:00
0e882e6637 gitignore 2016-12-31 10:44:14 +01:00
60b395e047 added ability to select one page as home-page (add :home? true as meta)
instead of newest post.
2016-12-30 23:43:13 +01:00
Carmen La
e3d2d3f433 Fix npe 2016-12-18 19:22:29 -05:00
Carmen La
551a8e5c21 Bump version 2016-12-18 14:28:55 -05:00
Carmen La
cfb8e4cc0d Bump selmer version 2016-12-18 14:28:47 -05:00
Carmen La
fb0dc9e1d4 Merge pull request #77 from SVMBrown/master
conditionally drop any posts with dates set in the future
2016-12-18 14:24:20 -05:00
Carmen La
31d51def2f Merge pull request #78 from tuhlmann/master
Provided fixes make cryogen work on Windows.
2016-12-18 01:13:10 -05:00
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.
2016-12-17 11:29:16 +01:00
Torsten Uhlmann
ca2513f954 Merge pull request #1 from cryogen-project/master
Update cryogen-core to latest version
2016-12-14 21:00:26 +01:00
Scot Brown
1a75abb0e4 conditionally drop any posts with dates set in the future 2016-12-13 15:59:09 -05:00
Carmen La
bb4d772611 Bump version, update deps 2016-12-04 01:21:22 -05:00
Carmen La
78804d61e8 Merge pull request #75 from benswift/master
bugfix for `compass-installed?`
2016-12-04 01:11:05 -05:00
Ben Swift
c9828f6cc3 nicer pretty-printing of "compiling sass" 2016-12-04 16:48:41 +11:00
Ben Swift
a66f8df5e4 in compile-sass-file!, sh doesn't like nil arg when no compass 2016-12-02 14:30:11 +11:00
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
2016-12-02 11:55:47 +11:00
Carmen La
a4ab7f1409 Merge pull request #71 from matsu911/master
Fix toc entries for titles which are links
2016-10-22 23:19:25 -04:00
Shigeaki Matsumura
9858723403 fix toc entry for title which has a link 2016-10-23 12:07:50 +09:00
Carmen La
fb80203554 Merge pull request #70 from matsu911/master
support sub directories in pages and posts
Resolves #57
2016-10-18 19:10:40 -04:00
Shigeaki Matsumura
510c33c23d support sub directories in pages and posts 2016-10-19 00:43:09 +09:00
Carmen La
98992b70de bump up deps and version number 2016-09-03 15:34:43 -04:00
Carmen La
52457c7b64 Add :today key to params for compiling posts 2016-09-03 15:33:37 -04:00
Arsene Rei
272d688010 Add test for no directories 2016-05-27 11:53:14 -04:00
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.
2016-05-27 11:52:41 -04:00
Carmen La
3e7d43b212 update dependencies/version 2016-04-18 22:44:09 -04:00
Carmen La
ca8d5fe872 Bump version and dependencies 2016-03-14 13:31:35 -04:00
Carmen La
1f7fdd0cbe Merge branch 'jstepien-hawk' 2016-03-14 13:29:51 -04:00
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.
2016-03-13 16:43:14 +01:00
Carmen La
ef1422c42c Bump up version 2016-03-09 14:51:01 -05:00
Carmen La
42d4a9098c Merge pull request #65 from dhable/master
Make archive grouping configurable
2016-03-08 22:24:42 -05:00
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.
2016-03-08 20:22:20 -06:00
Carmen La
36656de029 Update dependencies 2016-03-08 15:39:24 -05:00
Carmen La
a1e783d44f Merge pull request #64 from cqsd/clean-urls
Implement clean URLs feature 
Issue #89 in cryogen-project/cryogen
2016-02-21 02:04:56 -05:00
Tom L
0c4156f43f Add servlet context to tags, archives rendering. 2016-02-15 20:31:40 -06:00