Commit graph

307 commits

Author SHA1 Message Date
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
Brit Butler
6283d63331 A little performance hack for faster compiles.
We were generating the complete list of tags and months on every
index render. Now the data is computed once during content load
and cached in a global for the remainder of the compilation process.
20% reduction in compile-time for my 430-post blog.
2014-05-16 11:09:47 -04:00
Brit Butler
f58c265fb7 Bugfixes to sitemaps, mathjax, and posts. 2014-05-16 10:42:08 -04:00
Brit Butler
414b221e6b Use default-initargs, switch some accessors to readers. 2014-05-15 10:43:39 -04:00
Brit Butler
7326e31479 Export title-of, author-of, and find-content-by-path. Cleanup twitter plugin. 2014-05-08 11:47:59 -04:00
Brit Butler
57f9aeb696 Keep plugin-conf-error condition with near the plugin handling code. 2014-05-08 11:02:51 -04:00
Brit Butler
b2ffed2b17 Simplify TAG and INDEX definitions. 2014-05-08 10:51:45 -04:00
PuercoPop
72f0000a82 Add and export plugin-conf-error condition 2014-05-07 21:00:33 -05:00
Brit Butler
5e236e6ef1 Bump version to 0.95-dev, tweak exports, NEWS entries. 2014-05-07 18:04:30 -04:00
Brit Butler
52b32f459b Add support for looking up content by relative path. 2014-05-07 17:54:23 -04:00
Brit Butler
0760459e8f Add *last-revision* and export it and GET-UPDATED-FILES. 2014-05-07 17:51:26 -04:00
Brit Butler
795f568aea Track the original filepath for all content. 2014-05-07 17:36:05 -04:00
Brit Butler
a67a08d54a Use some more format recipes. 2014-05-06 15:25:28 -04:00
Brit Butler
1ea73feab7 Cleanup plugin loading. 2014-05-06 15:25:28 -04:00
Brit Butler
e17d2a27df Update the post-receive script to pass the previous revision to Coleslaw. 2014-05-03 22:16:26 -04:00
Brit Butler
35afff4ed9 Add GET-UPDATED-FILES to find files changed in last push. Update HACKING doc. 2014-05-03 13:55:09 -04:00
Brit Butler
16272cc6a6 Slight tweak to READ-CONTENT's metadata parsing. 2014-05-03 13:53:13 -04:00
Brit Butler
a9740474eb Simplify the support for multi-site configs. 2014-05-02 15:03:15 -04:00
Brit Butler
e96f7f58b9 Assorted cleanups. 2014-05-01 18:51:47 -04:00
Brit Butler
f602c371ea Split feeds back out into their own file. 2014-05-01 17:16:50 -04:00
Brit Butler
0e70d8661e Minimal changes to support tagless, dateless static-pages using post template.
Note that tagless or dateless posts might not behave as expected in
indexes. Filtering by tag still works but sorting by date doesn't
drop the nil values.
2014-04-29 13:55:58 -04:00
Brit Butler
a8a2a391ca Add minor comment. 2014-04-29 13:55:00 -04:00
Brit Butler
cba6776afd Cleanup imports and use write-document. 2014-04-29 13:55:00 -04:00
Brit Butler
85ed427969 Minor bugfix to PAGE-URL. Never use the wrong data in testing. 2014-04-29 13:48:52 -04:00
Brit Butler
514761e1cd Remove page-url methods now stored in the config.
We probably don't want to merge this in until users have had an
adjustment period or without putting a *big* warning in the NEWS.
Users will need to know to update their configs/steal the :routing
block from the example config.
2014-04-29 13:28:12 -04:00
Brit Butler
f56270430f Hey, look! User-defined routes are easy. Slot-value is gross though. 2014-04-29 13:28:12 -04:00
Brit Butler
e5a40b67a7 Update all page-url calls to only use the slug. 2014-04-29 13:28:12 -04:00
Brit Butler
40c00b9708 Allow arbitrary layout of blog repos. 2014-04-28 17:49:37 -04:00
Brit Butler
5f75afde21 Fix thinko in write-document. 2014-04-28 14:13:52 -04:00
Brit Butler
0b7795270f Rearrange source a bit. 2014-04-28 14:10:27 -04:00
Brit Butler
44e82382f3 Fix write-document to work for feeds. 2014-04-28 14:09:27 -04:00
Brit Butler
7e028d354e Use write-document throughout. Render-function cleanup done. 2014-04-28 13:59:50 -04:00
Brit Butler
dc2a2cc92e First pass at WRITE-DOCUMENT, document exported protocol helpers. 2014-04-28 13:55:55 -04:00
Brit Butler
2011da83ad Fix embarrassing escaping in write-file. 2014-04-28 12:40:42 -04:00
Brit Butler
cb868f0852 Rename write-page -> write-file. Clean up some docstrings. 2014-04-18 12:12:57 -04:00
Brit Butler
7489a6f769 Cleaner implementation of DO-FILES. 2014-04-16 10:46:39 -04:00
Brit Butler
3029c7e774 Minor comments and doc cleanups. Rearrange util. 2014-04-16 00:04:50 -04:00
Brit Butler
5e9a256a91 Rename render-content to render-text for clarity. Retroactively add to 0.9.3. 2014-04-15 23:44:41 -04:00
Brit Butler
eb0f1e23ab Update hacking docs. 2014-04-15 22:05:26 -04:00