Commit graph

23 commits

Author SHA1 Message Date
Albert Lai
2119ed52aa merge posts image fix 2015-06-14 18:42:04 +08:00
Albert Lai
7c443a8b5c add experimental theme support 2015-06-14 18:23:58 +08:00
Albert Lai
bc62c8a790 fix issue #24 image handling in Post is generally broken 2015-06-14 13:47:18 +08:00
Yogthos
e0d3676196 added an error check for parsing the config.edn 2015-04-02 22:22:17 -04:00
William Roe
c52d3d1aa6 Pass all config to templates
This allows people to use any parameter from their config as well as the
params that were already being used.
2015-02-23 18:14:31 +00:00
William Roe
5587cc88ef Run SASS relative to sass/
This is so that SASS/Compass can find images and other assets
2015-02-21 23:36:20 +00:00
William Roe
52244956aa Option maps are easier to use when calling functions
... with more than a couple of parameters.
2015-02-21 22:15:40 +00:00
Stefan Pfeiffer, DL1ELY
f74c05711b Fix overly eager replacement of file extensions in uris
As the filename extensions given by the render plugins are also used as
regex for replacing them with .html to generate URIs, the dot in front of
the extension was interpreted as an arbitrary character for the regex.
Also, it matched in the middle of a string. Now dots get quoted and a $
added to only match at the end of the filename.

Fix #16
2015-01-28 22:19:01 +01:00
lacarmen
9de65df523 Added :content key to grouped tags in order to fix filtered rss generation 2015-01-22 12:18:32 -05:00
Adam Tankanow
cb18e5734d Merge branch 'master' into add-asciidoc-support
Conflicts:
	project.clj
2015-01-09 09:15:54 -05:00
lacarmen
656cc2d0c9 Added curated RSS generation based on :rss-filters in the config 2015-01-03 20:36:30 -05:00
J Irving
6f7cb79a65 Sass compilation respects :ignored-files config
This is an oversight from lacarmen/cryogen-core#4.

Also some slight refactoring.
2015-01-01 03:49:03 -05:00
lacarmen
bca0e89aa2 Added uri and site-url selmer tags for canonical url meta tags 2014-12-31 23:21:38 -05:00
lacarmen
73338935fa Cleanup 2014-12-31 16:55:29 -05:00
Adam Tankanow
b68779fcbe Abstract Markup language details and add Asciidoc support:
1. create markup namespace to hold Markup protocol and its Markdown and
Asciidoc implementations.
2. Update compiler ns to iterate through available Markups and pass
Markup to fns that need Markup info.
3. Refactor compiler ns parse fns to be more granular.
2014-12-30 07:31:46 -05:00
J Irving
efbe831261 Support :ignored-file config key
Prevent the compiler attempting to process files defined by a list of
regexps. By default ignore emacs and vi backup files.
2014-12-27 02:47:55 -05:00
Yogthos
a49bda02bc removed main 2014-12-26 23:50:25 -05:00
Yogthos
faf60f5c37 added System/exit in the main 2014-12-25 11:28:42 -05:00
Yogthos
8173f5e103 fixed sass paths 2014-12-25 11:24:25 -05:00
Dmitri Sotnikov
f43b751cfd support for ref links
fixes https://github.com/lacarmen/cryogen/issues/39
2014-12-24 16:53:25 -05:00
Martin Kremers
d9fe01d8f6 Make images from md folders available, so a post or page can be one unit in a folder 2014-12-07 17:50:24 +01:00
lacarmen
6483b0ea1f Updated the compiler to inject the blog prefix in front of local links and added docstrings 2014-12-05 16:37:04 -05:00
lacarmen
9ee0968a0f Renamed to cryogen-core 2014-12-05 10:56:40 -05:00
Renamed from src/cryogen/compiler.clj (Browse further)