Parker Moore
e78d5dd5cb
Will now have to render the post, not just transform it.
2013-07-13 16:18:38 +02:00
Parker Moore
253fc8c506
Raise LoadError if the file doesn't exist but do not catch it. :)
2013-07-12 12:22:06 +02:00
Parker Moore
08f6f3c2ed
Merge pull request #1204 from maul-esel/include-params2
...
Support parameters for liquid include tags.
2013-07-09 14:14:40 -07:00
Anand Narayan
dfca2c6edc
Latest post is chosen first in related posts
2013-07-06 15:11:52 +05:30
Matt Rogers
c1850a38f7
Merge pull request #1215 from sanandnarayan/folder_plus
...
removed cgi unescape in page destination
2013-06-25 06:19:41 -07:00
Anand Narayan
7e79b9df92
added a plus to permalink
2013-06-15 23:18:31 +05:30
Anand Narayan
5c47014c90
removed cgi unescape in page destination
2013-06-15 18:38:14 +05:30
maul.esel
5a990f7854
add unit tests for include tag parameters
2013-06-11 16:11:56 +02:00
Parker Moore
7f10b32431
Fix tests to match new behaviour of Pager.paginate_path
2013-06-09 21:09:06 +02:00
Parker Moore
6e80ba868e
Fix tests for Pager.
2013-06-09 18:52:24 +02:00
Parker Moore
81a2d03e58
WIP – fixing tests.
2013-06-09 18:31:09 +02:00
Parker Moore
066912556e
Support new private gist syntax.
2013-06-07 00:34:23 +02:00
Matt Rogers
1eab13c068
Merge pull request #1063 from Kelsin/fixing-paginate_path-for-windows
...
Fixing pagination on windows
2013-05-22 12:26:54 -07:00
Matt Rogers
ddba4cde8b
Merge pull request #1114 from mojombo/backwards-compatibilize-exclude-include
...
Backwards-compatibilize 'exclude' and 'include' config tags
2013-05-17 19:56:48 -07:00
Parker Moore
63dc563621
Add tests for exclude/include backwards-compatibility
2013-05-17 21:05:09 +02:00
Sebastian Morr
151ffab6fe
Removed space characters in empty lines
2013-05-16 20:27:27 +02:00
Matt Rogers
ff600bfcd9
Merge branch 'master' into refactor-related-posts
2013-05-14 21:54:12 -05:00
Parker Moore
179a746091
Merge pull request #1066 from Rowno/data-language
...
Add a `data-lang` attribute to code blocks
2013-05-12 03:11:11 -07:00
maul.esel
eda11aa534
ensure number category is NOT included as fixnum
2013-05-11 18:03:51 +02:00
maul.esel
17cdd59206
adjust tests to new test post
2013-05-10 14:07:43 +02:00
Roland Warmerdam
2a6c722e78
Add a `data-lang` attribute to code blocks
2013-05-10 19:18:13 +12:00
Rafael Revi
528c94e481
new test case: numbers in categories
2013-05-10 02:20:43 -04:00
Matt Rogers
770402d912
Also stub the building of the index
...
Since we don't actually use the index in getting the related posts from
the tests there's no need to build an index, which can take a long time
if the ruby bindings for the GSL library are not installed.
2013-05-08 22:33:20 -05:00
Matt Rogers
1aa49fa734
Wrap tests around Jekyll::RelatedPosts
...
This gives me more confidence that we're doing the right things when it
comes to both the LSI and non-LSI cases and prevents regressions.
2013-05-08 21:57:10 -05:00
Christopher Giroir
b0c04c89f4
Further clarify what paginate_path should do in the case of directories in the path
2013-05-08 14:08:03 -07:00
Christopher Giroir
09fafd6418
Fixing paginate_path on windows
2013-05-07 23:24:10 -07:00
Parker Moore
f69c39c3ac
fix up tests for pygments-aware redcarpet
2013-05-08 00:45:42 +02:00
Parker Moore
62b4fd77ac
Using modules instead of classes for Redcarpet with/without Pygments.
2013-05-08 00:28:51 +02:00
Parker Moore
5dd3b0b71d
Update tests to be compliant with #1037 .
2013-05-07 16:45:15 +02:00
Pascal Borreli
29b3dc97f0
Fixed typos
2013-05-06 20:27:00 +01:00
Parker Moore
0b1d22dd61
Merge pull request #1016 from mojombo/fix-pagination
...
Paginate in subdirectories properly
2013-05-05 14:01:29 -07:00
Parker Moore
ce999f12fc
Merge pull request #992 from maul-esel/consistent-page.url
...
add leading slash to page.url and post.url
2013-05-05 13:56:15 -07:00
Parker Moore
dcd7b36269
Fixing Pager test for 1.8.7.
2013-05-05 18:08:03 +02:00
Parker Moore
1c146ec649
Instead of just a string name, Pager.pagination_enabled? now accepts a page
2013-05-05 17:26:48 +02:00
Parker Moore
20334aabbe
Test all cases for post_url modifications. #998
2013-05-05 15:13:17 +02:00
Parker Moore
9179f56ed7
Quick clean-up from #998 .
2013-05-05 14:59:50 +02:00
Parker Moore
290ba131e2
Merge pull request #998 from dhcole/master
...
Use post's directory path when matching for the post_url tag
2013-05-05 05:16:39 -07:00
Parker Moore
c9bd1437a3
Testing parsing of String objects which represent times to Date filters
2013-05-04 14:41:21 +02:00
Dave Cole
b1cf3d5dd5
Adjust expected post count for tests.
2013-04-30 12:46:31 -04:00
Dave Cole
805f378586
Add test for nested post_url
2013-04-29 17:48:10 -04:00
uu59
0f52f15cc2
Clean up code #1104
2013-04-29 21:07:46 +09:00
uu59
94756340cd
Remove to_i. Let commander gem do it #1004
2013-04-29 15:56:02 +09:00
uu59
20a837d15c
Change default value of limit_posts from nil to 0 (see #1004 )
...
Before this commit meaning of limit_posts:
nil: no limit. generate all posts
0: raise error
n ( > 0): generate n posts only
n ( < 0): raise error
else: raise error
After this commit:
nil: same as 0
0: no limit. generate all posts
n ( > 0): generate n posts only
n ( < 0): raise error
else: almost same as 0 (depend on `to_i` result)
2013-04-29 01:41:22 +09:00
uu59
ad2c706a34
Fix `jekyll serve --limit_posts n` failed
2013-04-28 02:03:08 +09:00
Parker Moore
46ce757b71
Compliant with Ruby 2.0.0
2013-04-26 21:20:48 +02:00
maul.esel
6f28b6d432
fix tests for always-present slash
2013-04-20 13:21:31 +02:00
maul.esel
cc5ce06d78
remove tests for default layouts
2013-04-15 17:24:18 +02:00
Parker Moore
5bcce7a1f1
Fix unit tests for Configuration#backwards_compatibilize
2013-04-15 00:41:46 +02:00
Parker Moore
ef9d8ddb7d
Matching tests to new colorized output
2013-04-13 20:24:45 +02:00
Parker Moore
0f600a322c
Added a unit test for Configuration#backwards_compatibilize
2013-04-12 22:42:54 +02:00