Javier Olaechea
9311c2244f
Move coleslaw-conf to its own ASDF system
...
Ideally the package coleslaw would only have symbols that refer to
configuration variables. However to ease setting *BASEDIR* to the right
value using UIOP:SYMBOL-CALL we provide a setter, SET-BASEDIR.
- Split each ASDF system into its own file
- All system definitions are made in the ASDF-USER package, as
recommended by ASDF.
Fixes #110
2016-09-20 23:15:57 -05:00
Lukasz Janyst
414c8dd742
Export *config* accessors useful in user plug-ins
2015-12-03 12:13:17 +01:00
Lukasz Janyst
075477b9ce
Allow for plug-ins to be defined in the user repo
2015-12-03 12:12:59 +01:00
Brit Butler
44eb77da2c
Merge pull request #98 from ljanyst/user-themes
...
Allow for themes defines in the user repo
2015-11-21 10:07:52 -05:00
Matthias Wimmer
4d24884863
Supporting other file extensions for the index page as well.
...
Coleslaw is able to write the blog content to xhtml file as well, using the
configuration setting :page-ext. But it did ignore the file extension when
creating the index page link responsible for the default landing page. With this
fix the file extension gets honored. E.g. when "xhtml" is configured, coleslaw
will generate a link from "index.xhtml" to "1.xhtml".
2015-11-20 23:56:39 +01:00
Lukasz Janyst
bd17b6c039
Allow for themes defines in the user repo
2015-11-15 20:23:53 +01:00
Brit Butler
5727578b26
Minor indentation tweak.
2015-05-26 23:38:49 -04:00
Javier Olaechea
144cb03294
Style fixes and missing closing paren
2014-12-10 12:16:31 -05:00
lukasepple
1e1c64b245
using zerop instead of (= 0
2014-12-10 15:07:09 +01:00
lukasepple
d7ffd1b7d7
error handling in slugify
2014-12-09 20:55:57 +01:00
lukasepple
d5e5aed0d9
using char instead of aref
...
for getting a char by index
2014-12-07 13:03:27 +01:00
Brit Butler
3671178a35
Minor indentation fixes.
2014-12-06 22:00:07 -05:00
lukasepple
5aa89f4497
cleanup of the code belonging to slugify
2014-12-06 22:55:50 +01:00
lukasepple
fbacd3b81f
made slugs unicode-safe like
...
used mozilla's slugify implementation as reference:
https://github.com/mozilla/unicode-slugify/blob/master/slugify/__init__.py
2014-12-06 19:51:06 +01:00
Olof-Joachim Frahm
68ee3c942d
Catch errors while trying to compile plugins.
...
A warning with the full error message will be printed and the original
file `LOAD`ed instead. If the error isn't related to the `fasl` file
output, then the `LOAD` should also throw an error, at which point the
normal error handling would take place.
2014-12-02 21:29:29 +01:00
Javier Olaechea
1ff10b9b63
conent.lisp (parse-medatada): add filename to the error message
2014-11-11 22:59:17 -05:00
Brit Butler
762ad5e44d
Handle trailing slashes more gracefully. Kick off 0.9.7-dev.
2014-11-02 23:04:45 -05:00
Brit Butler
a6a5b0b86b
Force staging-dir to be a directory-pathname in compile-blog.
2014-11-02 21:00:40 -05:00
Brit Butler
913023e377
Fix directory-does-not-exist initarg buglet.
2014-11-02 20:45:25 -05:00
Colin M. Strickland
bcd9051b14
use :utf8 symbol directly in external-format
...
sbcl can use :utf8 as a direct symbol also
2014-10-25 22:16:53 +01:00
Brit Butler
1b3acd107e
Fix feed handling bug backwards compatibly. No name changes.
2014-09-23 17:39:40 -04:00
Brit Butler
1289706b46
Quick bugfix to add-injection.
2014-09-23 17:33:55 -04:00
Brit Butler
f27172a1f7
Last minute backwards compatibility fix for people on very old SBCLs.
2014-09-23 17:28:11 -04:00
Javier Olaechea
47a17508e8
Add twitter meta-data to posts
...
This depends on a pending change to add-injection
2014-09-23 11:52:33 -04:00
Brit Butler
e44d0bde9e
Make add-injection support more complex injections. Thanks @PuercoPop.
...
In short, an injection is now a FUNCTION that takes a
document and returns either a STRING to insert in the
page (possibly with data from the document) or NIL.
2014-09-22 14:31:08 -04:00
Brit Butler
f474db77b2
Factor parse-initarg out of parse-metadata.
2014-09-22 12:56:00 -04:00
Brit Butler
439f3f35f7
Push closer to 0.9.6. Just tests and a merge left now...
2014-09-05 17:08:13 -04:00
Brit Butler
46e6915ba2
Make parse-metadata suck a little less. Many docs updates.
2014-09-05 17:08:12 -04:00
Brit Butler
2ed12c5bce
Factor out parse-metadata in preparation for real error-handling.
2014-09-05 17:07:22 -04:00
Brit Butler
148c1a0c52
Switch back to using rsync --delete -avz in deploy.
2014-09-05 17:07:22 -04:00
Brit Butler
b23a398dd5
Assorted bugfixes and cleanups.
2014-09-05 17:07:22 -04:00
Brit Butler
ef378b9b56
Finish the routing/slugs overhaul.
2014-09-05 17:07:22 -04:00
Brit Butler
ab34400307
Use with-slots for initializers, readers only please!
2014-09-05 17:07:22 -04:00
Brit Butler
ed886b57e7
Set blog repo in "the right place".
2014-09-05 17:07:22 -04:00
Brit Butler
ae96c069c4
Half-way commit to getting hardcoded paths out of templates.
2014-09-05 17:07:21 -04:00
Brit Butler
04c1ed9aee
Bugfixes.
2014-09-05 17:06:41 -04:00
Brit Butler
567c4473bb
Tentatively factor deploy method into git-hook plugin. TODO follows...
...
* Deploy :after plugins probably need revision now, and coleslaw-heroku.
* README, HACKING need updates. Plugin-api.md too.
* NEWS needs a carefully worded entry.
Is that what we want?
2014-09-05 17:06:41 -04:00
Brit Butler
a176f38537
Bugfix: Feed should be an abstract class.
2014-09-05 17:06:41 -04:00
Javier Olaechea
8304e6b74b
More robust directory changing
...
- Doesn't fail when the directory is missing a trailing '/'
- When directory doesn't exist it signals an informative
condition.
2014-08-17 16:51:17 -05:00
Javier Olaechea
c2e83dd729
current-directory not needed, use uiop instead
...
Add setf expansion for getcwd
2014-08-16 02:23:48 -05:00
Javier Olaechea
a4b92a05ef
replace deprecated sb-ext:quit with sb-ext:exit
...
As of 1.0.57[1]
[1]: http://sbcl.org/all-news.html#1.0.57
2014-08-15 14:05:03 -05:00
Brit Butler
6a4b26c9bb
Add default lang and charset values to the config.
...
Any time we can avoid forcing people to update their configs it's a good thing.
2014-06-13 09:48:34 -04:00
NAKAJIMA Takaaki
2ac0d43877
Add charset of HTML
2014-06-13 19:16:11 +09:00
NAKAJIMA Takaaki
99ddaa0ca2
Apply :lang
2014-06-13 19:10:56 +09:00
Brit Butler
3467157805
Add and export DELETE-DOCUMENT.
2014-06-03 16:32:43 -04:00
Brit Butler
331cc94b2c
Merge branch 'master' into experimental
2014-06-01 17:22:55 -04:00
Brit Butler
669655930b
Simplify PAGE-URL's around method.
2014-05-28 11:50:44 -04:00
Brit Butler
75c30c5844
Push sketch slightly further up hill.
2014-05-26 16:27:02 -04:00
Brit Butler
235b727017
PAGE-URL should always return a pathname.
2014-05-19 15:27:51 -04:00
Brit Butler
2397b70abb
Extract setfs into UPDATE-CONTENT-METADATA.
2014-05-19 12:01:46 -04:00