Michael Jerger
d772f95990
refactored name of configuration parameter.
7 years ago
Michael Jerger
a7f5f3a7b1
made sidebar-pages flat again.
...
There is no way to ensure a sidebar-only hierarchy without tree gaps. So
filtering a flat sequence would work much better.
7 years ago
Michael Jerger
39ca87f777
fixed project name
7 years ago
Michael Jerger
b781b8b9bb
renamed navpage-model to page-model
7 years ago
Michael Jerger
f758b5744d
tested in real live -works now
7 years ago
Michael Jerger
4f9ac917ae
added hierarchic sidbar-pages & refactored namesspace.
7 years ago
Michael Jerger
d8f86e0414
fixed read-config
7 years ago
Michael Jerger
439ae6fba8
all things implemented - probably works
7 years ago
Michael Jerger
e9d1c1e194
refactored navbar-model out of compiler & introduced new :navbar-model
...
parameter to config
7 years ago
Michael Jerger
28cb312dc2
Merge branch 'master' into development
7 years ago
Michael Jerger
2e6723d2fa
readded missing debug? configuration
7 years ago
Michael Jerger
2570dc4997
Merge branch 'master' into development
...
Conflicts:
project.clj
src/cryogen_core/compiler.clj
7 years ago
M.Jerger
d36acf2316
Merge branch 'master' into master
7 years ago
Michael Jerger
67d91b4611
format
7 years ago
Carmen La
d502799a93
Update deps
8 years ago
Carmen La
dea3725759
Merge pull request #87 from madstap/master
...
Add nohighlight to klipsified code blocks.
8 years ago
Aleksander Madland Stapnes
60c4ec0054
Add nohighlight to klipsified code blocks.
8 years ago
Carmen La
296e01abb1
Merge pull request #86 from madstap/master
...
Add Klipse integration
8 years ago
Aleksander Madland Stapnes
70c95b41d8
Look at the content as well as the config to infer clojure eval
...
Before only the config was looked at to determine whether to include
the js minified of not, now look at the html as well. This makes it
more convenient to set up all klipse stuff once in config.edn without
having to manually specify which js to include.
8 years ago
Aleksander Madland Stapnes
f7f02f7433
Change confusing local names. cfg -> settings
8 years ago
Aleksander Madland Stapnes
c5d995b262
Add some docstrings
8 years ago
Aleksander Madland Stapnes
ac52785b19
Automatic klipse integration
8 years ago
Carmen La
84a933bdcf
Fix dest-sass/sass-dest key
...
Issue #85
8 years ago
Carmen La
f0cc7353c1
Pass both page/post params to the index template
8 years ago
Carmen La
6ba76bc7f5
Fix a regression
8 years ago
Carmen La
1b7f0fb367
update deps and version number
8 years ago
Carmen La
9cd5016537
Don't create prev/next links pointing to :home? pages
...
- Also include more metadata in page.prev and page.next params
- And some general code cleanup
8 years ago
Carmen La
e1cb70dc1d
Merge pull request #83 from madstap/master
...
Remove crouton dep because enlive does the same thing
8 years ago
Aleksander Madland Stapnes
1cfb2b17df
Remove crouton dep because enlive does the same thing
...
Almost the same thing; it doesn't insert missing html, head and body
tags, but in this case we only care about the stuff in the body.
8 years ago
Carmen La
dec80185e5
A big ol' cleanup
8 years ago
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)
8 years ago
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.
8 years ago
Aleksander Madland Stapnes
9c7c935d66
Style pedantry: Remove trailing whitespace.
...
My emacs did it...
8 years ago
Michael Jerger
65cd1f5997
adjust project name
8 years ago
Michael Jerger
6a4ede6117
gitgnore ...
8 years ago
Michael Jerger
1ea38c5b84
respect :page-index order for navmap
8 years ago
M.Jerger
0d4a9c90f6
Merge branch 'master' into master
8 years ago
Michael Jerger
b6b8ebfa22
undo project renaming
8 years ago
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
Carmen La
e7a4172237
promote from snapshot to release
8 years ago
Carmen La
247c512fd5
Merge pull request #80 from SVMBrown/master
...
Fix symbol not found exception in compile-assets function
8 years ago
Scot Brown
6d28af459f
Fix symbol not found exception in compile-assets function
8 years ago
Carmen La
5bb7c5b3fb
Merge pull request #79 from DomainDrivenArchitecture/master
...
enhanced homepage handling & debug option
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