Parker Moore
806f43cdbc
Merge pull request #1568 from nitoyon/url-escape
2014-04-02 14:09:09 -04:00
Lincoln Mullen
52ac2b3850
Permit YAML blocks to end with three dots
...
The YAML spec permits blocks to end with three dots (...) in addition to
three dashes (---): http://www.yaml.org/spec/1.2/spec.html#id2760395 . Some
programs that work with Jekyll (e.g., Pandoc) prefer the dots to dashes. This
commit permits the YAML metadata block to end with either dots or dashes. It
includes tests.
Signed-off-by: Parker Moore <parkrmoore@gmail.com>
2014-04-02 14:06:22 -04:00
nitoyon
eebb6414bf
Fix Post#url escape
...
Post#url was escaped using CGI.escape.
When file name contains a space character, its url points to
non-existing URL.
For example, when we have a post named '2014-01-02-foo bar.md',
we expect its url to be '/2014/01/02/foo%20bar.html',
but it was actually '/2014/01/02/foo+bar.html'.
We now define Jekyll::URL.escape_path and Jekyll::URL.unescape_path,
and use them to escape and unescape Post#url
2014-03-21 16:57:40 +00:00
XhmikosR
553338636b
Trim trailing spaces and convert tabs to spaces.
2014-03-11 07:44:01 +02:00
Ben Balter
0acbe95797
test multiple traversals
...
Signed-off-by: Parker Moore <parkrmoore@gmail.com>
2014-01-13 22:21:30 -08:00
Ben Balter
9e796d0627
failing test
...
Signed-off-by: Parker Moore <parkrmoore@gmail.com>
2014-01-13 22:21:30 -08:00
Matt Rogers
a2fd8ba7c3
Merge pull request #1849 from afeld/sort-attributes
2013-12-30 20:31:45 -08:00
Aidan Feldman
2bfafb3b33
make non-data properties/methods accessible to Liquid
...
per https://github.com/jekyll/jekyll/pull/1849/files#r8490593
2013-12-22 03:38:32 -05:00
Jens Nazarenus
f9ffbe0d6a
removed duplicate test scenario
2013-12-19 18:23:07 +01:00
Jens Nazarenus
43ef9a2e4f
variables in include tag with filters
2013-12-17 23:51:52 +01:00
Thomas Torsney-Weir
c983f38cc9
add test to demonstrate issue with markdown extension parsing. adding mkd as an extension should not cause mkdn files to also be markdownified
2013-08-06 10:52:24 +02:00
Parker Moore
95491eb7e7
update categories on the new post to not fuck up old numbers
2013-07-22 13:04:07 +02:00
Parker Moore
3418a9197a
Add categories and tags and test #to_liquid
2013-07-22 12:57:03 +02:00
Parker Moore
81a7b22672
Add a new post, bump @site.posts.size
2013-07-22 12:22:47 +02:00
Rafael Revi
528c94e481
new test case: numbers in categories
2013-05-10 02:20:43 -04:00
Parker Moore
9179f56ed7
Quick clean-up from #998 .
2013-05-05 14:59:50 +02:00
Dave Cole
805f378586
Add test for nested post_url
2013-04-29 17:48:10 -04:00
maul.esel
bcda51f97b
do not allow markdown etc. in excerpt
...
Adjust the tests accordingly. Also
add a message for one of the tests.
2013-04-11 21:02:08 +02:00
maul.esel
b10e06ce47
new test: ensure the correct excerpt is exposed to liquid
...
Also shorten test code a little bit.
2013-04-11 19:33:32 +02:00
maul.esel
0113fea7a1
Add tests for using custom excerpt
2013-04-11 14:26:20 +02:00
Parker Moore
8f890cb064
Fix tests that fail due to having a directory that looks like a post
2013-03-19 21:59:43 +01:00
Aleksey V Zapparov
22dcc4e20f
Adds excerpt to posts
2013-03-04 17:13:25 +01:00
Parker Moore
5a3e05dbff
Ensuring that layout is only set to the default value if layout is not specified
2013-01-12 15:31:14 -08:00
Derek Prior
5801220a98
Added the ability to configure the file extensions to be processed by each converter. Test cases included.
2011-04-12 17:03:28 -04:00
Kris Brown
e4a2319bf3
added tests to show how date and tags can end up having the wrong value when rendered
2010-02-26 21:24:32 +00:00
Kris Brown
a0aa3fa6dc
Merge branch 'enh_post_date_in_front_matter_issue_62'
2010-01-10 21:58:34 +00:00
Kris Brown
a1550b3378
allow date to be specified in the front matter and override the value from the file name, fixes #62 and #38
2010-01-10 21:55:54 +00:00
Kris Brown
2292e4268c
added tests for handling of tags and catergories, see #73 and #84
2010-01-10 16:12:41 +00:00
Tom Preston-Werner
4c1021d597
don't prematurely terminate front matter on mid-line triple dashes. fixes #93
2010-01-08 18:04:36 -08:00
Simon Chiang
ca98cd0152
updated convertible to allow for posts with no, or empty YAML
2009-06-23 20:55:13 -06:00
Nick Quaranto
102f6be6a2
Added tags to posts. Based off Henrik's implementation in 072d9e7.
2009-05-18 18:28:56 -04:00
Bjørn Arild Mæland
4bcece18ae
Issue 7: CGI escape post titles
...
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-04-28 08:09:42 -04:00
Bjørn Arild Mæland
0ec9a1330a
Made it possible to enter categories from YAML as an array.
2009-02-22 19:09:16 +01:00
Nick Quaranto
efdd5ef395
Making sure that posts flagged as published: false don't get rendered or copied.
2009-02-10 01:13:36 -05:00
Nick Quaranto
4bcfaeae69
Starting on yaml categories
2009-02-10 01:12:17 -05:00
Tom Preston-Werner
d0fbfca205
fix location of permalink test post
2008-12-21 22:12:40 -08:00
Tom Preston-Werner
fbdcf469c4
add markdown test
2008-12-15 12:04:19 -08:00
Tom Preston-Werner
8b2aedc951
implement include tag
2008-12-13 17:12:38 -08:00
Tom Preston-Werner
e63b9c0719
add test source files that did not get properly added before
2008-11-22 00:15:13 -08:00