Cthulhux
e7e68ce602
Merge pull request #187 from equwal/url-gen-control
...
Control of URL generation -- extensions and name-fn
2022-08-08 16:51:12 +02:00
Spenser Truex
efc0bfb738
Support name-fn for modifying URL strings.
...
Once the title has been converted to a URL (by `slugify`), name-fn changes it.
It is available in the .coleslawrc as `:namefn 'fn`, with the default
`:name-fn 'identity`
2020-03-24 15:56:48 -07:00
Spenser Truex
656401df71
Optional extension file extensions for posts and index
...
I wanted posts to have no extension (via :page-ext), so I had to allow for
:page-ext "" to work, and without inserting a dot at the end of my files. To
allow for index.html when :page-ext is not "html", :index-ext "html" in the
.coleslawrc is supported.
2020-03-24 15:44:53 -07:00
Colin M. Strickland
4b0819c288
refactored class name matching code
...
added class-name-p function to util
refactored incremental plugin process-change and documents purge-all
to use class-name-p when matching against exact class names
2015-01-04 15:25:39 +00:00
Colin M. Strickland
7d26e2bb5a
Renamed find-all matching parameter to matches-p
...
In response to feedback on PR-78
https://github.com/redline6561/coleslaw/pull/78
2015-01-04 14:13:21 +00:00
Colin M. Strickland
7facd55afb
find-all matching adjusted
...
find-all implementation returns false positives for subclasses
added parameter of a predicate to implement matching, with a default
value that preserves original behaviour
added an exact class matcher to purge-all invocation of find-all to stop
it purging subclasses
2015-01-02 10:47:32 +00: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
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
ae96c069c4
Half-way commit to getting hardcoded paths out of templates.
2014-09-05 17:07:21 -04:00
Brit Butler
3467157805
Add and export DELETE-DOCUMENT.
2014-06-03 16:32:43 -04:00
Brit Butler
669655930b
Simplify PAGE-URL's around method.
2014-05-28 11:50:44 -04:00
Brit Butler
235b727017
PAGE-URL should always return a pathname.
2014-05-19 15:27:51 -04:00
Brit Butler
a67a08d54a
Use some more format recipes.
2014-05-06 15:25:28 -04:00
Brit Butler
e96f7f58b9
Assorted cleanups.
2014-05-01 18:51:47 -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
f56270430f
Hey, look! User-defined routes are easy. Slot-value is gross though.
2014-04-29 13:28:12 -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
dc2a2cc92e
First pass at WRITE-DOCUMENT, document exported protocol helpers.
2014-04-28 13:55:55 -04:00
Brit Butler
3029c7e774
Minor comments and doc cleanups. Rearrange util.
2014-04-16 00:04:50 -04:00
Brit Butler
c17bcdd385
Factor purge-all calls in discover to a before method.
2014-04-15 20:43:56 -04:00
Brit Butler
f2bd0ff0ef
More comments and docs tweaks.
2014-04-15 19:25:19 -04:00
Brit Butler
7af3462d99
Massive indexes rewrite.
2014-04-15 15:27:46 -04:00
Brit Butler
3693e10cbf
Initial pass at the Document Protocol.
2014-04-15 11:48:38 -04:00