Commit Graph

138 Commits

Author SHA1 Message Date
Matthew Iversen fb9de8cbf6 Fix tests to expect maruku 0.7 output 2013-12-05 12:20:11 +11: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 e78d5dd5cb Will now have to render the post, not just transform it. 2013-07-13 16:18:38 +02:00
Sebastian Morr 151ffab6fe Removed space characters in empty lines 2013-05-16 20:27:27 +02:00
maul.esel eda11aa534 ensure number category is NOT included as fixnum 2013-05-11 18:03:51 +02:00
Rafael Revi 528c94e481 new test case: numbers in categories 2013-05-10 02:20:43 -04:00
Pascal Borreli 29b3dc97f0 Fixed typos 2013-05-06 20:27:00 +01: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 04fd68a232 Move Jekyll::DEFAULTS to Jekyll::Configuration::DEFAULTS 2013-04-12 21:19:20 +02: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 2792e1e427 fix indentation of test 2013-04-11 16:51:48 +02:00
maul.esel 0113fea7a1 Add tests for using custom excerpt 2013-04-11 14:26:20 +02:00
Daniel Driver ea753130e6 add ordinal date permalink style (/YYYY/DDD/slug.html) 2013-04-06 08:17:02 -04:00
zachgersh e931414b77 Changed to short_month and re-ran tests. 2013-03-27 08:40:58 -07:00
zachgersh 6657f2add9 Added abbreviated month + test. 2013-03-26 23:06:34 -07:00
Aleksey V Zapparov 22dcc4e20f Adds excerpt to posts 2013-03-04 17:13:25 +01:00
Parker Moore b4bea4a586 Merge branch 'code-cleanup' of git://github.com/tombell/jekyll into code-cleanup
Module Cleanup

* 'code-cleanup' of git://github.com/tombell/jekyll:
  Remove new lines between module and class
  Update tag classes moving into a module
  Update pagination classes moving into a module
  Update converter classes moving into a module
  Strip extra newlines
  Update command classes moving into a module

Conflicts:
	lib/jekyll/commands/serve.rb
2013-01-27 23:13:16 +01:00
Tom Bell 663a1321d2 Update converter classes moving into a module 2013-01-19 23:07:38 +00:00
Parker Moore ce798a5956 Added test for all-String categories. 2013-01-17 21:57:21 -05: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
Laurent Arnoud 1356e75811 Generate escaped url for categories with space.
Space in URLs should be encoded.

Signed-off-by: Laurent Arnoud <laurent@spkdev.net>
2011-07-10 23:56:56 +02:00
Tom Preston-Werner da9930657e Merge remote-tracking branch 'derekprior/configurable_coverter_file_extensions' 2011-05-30 11:38:59 -07:00
Tom Preston-Werner 6a31e650f3 Tests and specs run under 1.9. 2011-04-24 18:39:27 +08:00
Derek Prior d2377b2581 Fixed mistake in default markdown extensions 2011-04-12 17:30:56 -04: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
Tom Preston-Werner dce4ccc5a4 Better error message for invalid post date. 2011-03-11 17:52:25 -08:00
Tom Preston-Werner 5335debfb2 Merge remote branch 'technoweenie/no-leading-zeroes'
Conflicts:
	lib/jekyll/post.rb
2010-06-18 15:34:56 -07:00
rick e8d119ef0a add :i_day and :i_month permalink values so you can get urls like /2010/6/1/title 2010-05-31 23:28:39 -07: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
Tom Preston-Werner a4f3f5c583 Merge commit '0a1e3cd2508c797d7b8d1038636a6e7111e5cd3d'. Fixes #33.
Conflicts:
	features/post_data.feature
2010-01-14 20:00:19 -08: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 ce228ac1c4 removed accessor method and fixed tests 2010-01-10 16:24:56 +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
Kris Brown 6b74454a07 resetting to upstream 2010-01-10 10:11:44 +00:00
Kris Brown 2a7b1cbd98 merged 'mojombo/master' at 'v0.5.6' 2010-01-09 09:03:59 +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
Kris Brown 7806a0d6bb separated up the attrs required by convertible and made tags and categories always non-nil as empty front matter entries could cause them to be nil 2010-01-06 15:19:39 +00:00
Simon Chiang ca98cd0152 updated convertible to allow for posts with no, or empty YAML 2009-06-23 20:55:13 -06:00
Simon Chiang b616a4ceca fixed test for CRLF (extra newline was being picked up) 2009-06-23 20:54:26 -06:00
Stefan Saasen e39810c984 Fix exception that causes jekyll to fail when using CRLF (0d0a) linebreaks in YAML front matter.
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-23 08:10:38 -04:00
eugenebolshakov e0ceee2e89 Added trailing slash to pretty url template
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-23 08:10:27 -04:00
Thomas Jack 535d78de7d change features and tests to make sure categories in urls follow the order specified by directory layout or in yaml 2009-06-08 19:26:03 -05:00
Nick Quaranto 102f6be6a2 Added tags to posts. Based off Henrik's implementation in 072d9e7. 2009-05-18 18:28:56 -04:00
Nick Quaranto 921aee23d3 Removing topics for good 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
Nick Quaranto 9da140fcb2 Getting there, prefixes work great 2009-04-25 00:58:28 -04:00
Nick Quaranto 288d5045d2 Changing to the template permalink system, only test_post passing so far 2009-04-25 00:17:10 -04:00
Nick Quaranto 73fa7dcad4 Actually testing existing permalink_style and its effect on posts 2009-04-24 23:19:13 -04:00
Juan Lupion 2e187864cf Next and previous posts
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-04-22 19:51:41 -04:00
Nick Quaranto 479d8c7572 Allowing the dest_dir and source_dir helpers to take arguments so tests aren't littered with File.joins 2009-03-17 23:23:47 -04:00
Nick Quaranto c60be9c571 Stubbing out the configuration makes for much less warnings. 2009-03-17 23:17:51 -04:00
Nick Quaranto ab262a2ab5 Stubbing out configuration with RR and making sure include tags get rendered 2009-03-17 23:07:18 -04:00
Nick Quaranto 1423ea91a0 Removing lambdas from test_post since that was just stupid 2009-03-17 22:41:23 -04:00
Josh Nichols and Nick Quaranto a5155c8e00 Fixed tests (... or commented them out). We rule. 2009-03-17 21:13:08 -04:00
Nick Quaranto 0d05f27fe4 Post conversion complete 2009-03-05 21:54:52 -05:00
Nick Quaranto 8807c7660b Starting conversion to shoulda 2009-03-05 21:54:52 -05: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 ad617da4e0 Added publish flag to posts, not preventing it from being in the destination directory yet. 2009-02-10 01:13:31 -05:00
Nick Quaranto 1211f23b53 Adding support for setting post categories through YAML if not specified by directory structure 2009-02-10 01:12:20 -05:00
Tom Preston-Werner fc28a907a8 Merge commit 'bac34fab3a27a12b35add1ecab409b19941e29a6' 2009-01-23 14:22:22 -08:00
Luismi Cavalle 15c5a78a47 Fixing permalink support 2009-01-05 00:35:59 +01:00
Josh Dady bac34fab3a Test and fix the site.categories hash 2008-12-25 13:49:56 -05:00
Tom Preston-Werner dad9a31559 fix categories and add topics 2008-12-24 15:25:42 -08:00
Tom Preston-Werner c46ea4096d simplify and correct rendering pipeline 2008-12-24 13:17:28 -08:00
Tom Preston-Werner d0fbfca205 fix location of permalink test post 2008-12-21 22:12:40 -08:00
Tom Preston-Werner 10bc499ce2 Merge commit '8d08a2' 2008-12-21 17:48:41 -08:00
Mark Reid 3a8f7a8e3a Added post categories based on directories containing _posts 2008-12-16 17:52:00 +11:00
Tom Preston-Werner fbdcf469c4 add markdown test 2008-12-15 12:04:19 -08:00
Tom Kirchner 2bb59d542b test_post failed if you weren't in UTC-8, so use the current time zone for testing 2008-12-14 01:31:09 -05:00
Tom Preston-Werner 8b2aedc951 implement include tag 2008-12-13 17:12:38 -08:00
Tom Preston-Werner 2a8345df82 fix tests for command line 2008-12-12 20:56:18 -08:00
Jack Danger Canty ad29efb102 adding permalink support to posts. Defined in the post YAML 2008-12-06 16:45:39 -08:00
Tom Preston-Werner 4f951b9b5d send introspection data to posts 2008-11-21 18:48:35 -08:00
Tom Preston-Werner 45db2ba40f fix layout tests 2008-11-05 22:05:24 -05:00
Tom Preston-Werner c1e31feeec default to no layout; makes dealing with binary files easier 2008-11-05 18:12:38 -08:00
Tom Preston-Werner e4d07dc547 add comments and refactor out common page/post methods into Convertible module 2008-11-05 17:49:22 -08:00
Tom Preston-Werner d8bdb6d366 fix tests that broke when 2nd arg was added to Post#add_layout 2008-11-05 17:04:56 -08:00
Tom Preston-Werner 7c3cfad2df fix post#output test 2008-10-20 23:36:44 -07:00
Tom Preston-Werner f06d2e60da clean up tests 2008-10-19 22:21:45 -07:00
Tom Preston-Werner 7fd8fd2b14 textilize posts 2008-10-19 22:10:03 -07:00
Tom Preston-Werner 1c93bd0ce8 write posts to disk 2008-10-19 21:56:53 -07:00
Tom Preston-Werner 84b00cc63e wrap in layout 2008-10-19 21:44:27 -07:00
Tom Preston-Werner ecda27488c parse out yaml from posts 2008-10-19 21:19:43 -07:00
Tom Preston-Werner 46a2c60505 Post.url 2008-10-19 20:18:05 -07:00
Tom Preston-Werner 6c0eeb573e read posts 2008-10-19 20:12:49 -07:00