Commit Graph

27 Commits

Author SHA1 Message Date
nitoyon 5e10958faa Unescape Document output path
Document#destination wasn't unescaped properly.

For example, when we have a document named '_langs/c#.md',
we expect its url to be '/langs/c#.html',
but it was actually '/langs/c%23.html'.

We now unecape URL at Document#destination like Post#destination and
Page#destination.
2014-12-29 22:38:50 +09:00
Parker Moore e39dfa3f0b Merge pull request #2908 from alfredxing/document-path 2014-12-29 00:26:35 -05:00
Alfred Xing dc30114605 Use site.in_source_dir 2014-11-23 16:16:19 -08:00
Alfred Xing ac03af3229 Implement @mattr-'s suggestions 2014-11-21 22:12:21 -08:00
Alfred Xing fe6bfc6f1b Fix failing tests 2014-11-21 22:12:21 -08:00
Parker Moore 4078bde3ba More passing tests. 2014-11-03 22:15:41 -08:00
Parker Moore 461e16f8bc More tests are passing. Hooray. 2014-11-03 22:15:40 -08:00
Parker Moore 73ca205a5c Add test for Document#basename_without_ext 2014-10-12 14:33:13 -07:00
Alfred Xing 6c0e791236 Use relative path for `path` Liquid variable in Documents 2014-09-10 21:04:40 -07:00
Chris Frederick be2b16507e Test documents without a title 2014-09-01 13:32:31 +09:00
Chris Frederick a5e51cfdbe Properly handle titles with trailing punctuation 2014-09-01 13:25:38 +09:00
Chris Frederick 4dec3c8c6b Test titles in document permalinks 2014-09-01 13:04:54 +09:00
Chris Frederick cc4a0d1704 Change :title to :name 2014-08-26 11:26:19 +09:00
Chris Frederick e8b00fb6f2 Add the 'title' variable to collection permalinks 2014-08-23 14:50:55 +09:00
Parker Moore 530e049d2d Read in static files info `collection.files` as `StaticFile`s. 2014-08-12 15:59:45 -04:00
Parker Moore 81807cb5af Merge pull request #2615 from alfredxing/collections-static-files 2014-08-02 14:44:45 -04:00
Alfred Xing bd59fa14f3 Add tests for static files in collections 2014-08-02 09:00:03 -07:00
kleinfreund 0ed02e9c1e Replacing front-matter/frontmatter with front matter 2014-08-01 10:07:09 +02:00
Alfred Xing ce1f01c494 Modify tests a bit 2014-07-07 10:49:36 -07:00
Alfred Xing a13a4ca532 Solidify document permalink tests 2014-07-07 10:39:22 -07:00
Alfred Xing f830120044 Add test for document permalink 2014-07-07 10:28:03 -07:00
Parker Moore d59b2c3ef6 Merge pull request #2419 from jens-na/collection-defaults 2014-06-12 20:38:21 -04:00
Bud Parr dc622470c9 add test for collection name 2014-06-02 15:12:21 -04:00
Jens Nazarenus ae67940544 Adds the missing tests for #2405 2014-06-01 22:21:31 +02:00
Jens Nazarenus e868a8437f Includes tests for frontmatter defaults in documents 2014-06-01 22:21:31 +02:00
Parker Moore 37a7236e20 Homagah it all renders I think. 2014-04-14 22:46:21 -04:00
Parker Moore 90807ac6e7 DEM TESTS 2014-04-14 22:44:29 -04:00