Parker Moore
066912556e
Support new private gist syntax.
2013-06-07 00:34:23 +02:00
Matt Rogers
cd3732e612
Merge pull request #1170 from mojombo/remove-ids-from-site-template
...
For template site, convert #post to .post. Fixes #1161 .
2013-06-03 08:07:09 -07:00
Parker Moore
2d27deaec7
For template site, convert #post to .post.
2013-06-02 18:48:45 +02:00
Brian Kim
1083bfd533
Fix typo in Stevenson
2013-05-31 17:23:57 -04:00
Parker Moore
14a4e32bbe
Use singleton instance variable instead of class variable
2013-05-29 12:04:50 +02:00
Parker Moore
1f59e9c757
Use Jekyll.logger instead of Jekyll::Stevenson to log things.
2013-05-29 11:58:35 +02:00
Mikael Konutgan
9adfd6ddeb
Document uri_escape
2013-05-23 20:18:08 +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
7c012a9e0c
Merge pull request #1115 from clang1234/master
...
Add --force flag to new command
2013-05-17 21:15:17 -07:00
Matt Rogers
2b84173eca
Merge pull request #1121 from mojombo/non-zero-exit-on-liquid-exception
...
Non zero exit on Liquid exception
2013-05-17 20:41:04 -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
ff8cf7c868
provide access to the layout name so when shit goes down we get the name of the layout which couldn't be processed
2013-05-17 22:45:39 +02:00
Parker Moore
a95fa70d72
raise things when there's a yaml exception (non-zero exit code
2013-05-17 22:44:46 +02:00
maul.esel
96efa9ed06
delete old files that have been replaced by a directory
...
Fixes #417 .
Replaces #1086 , more logical code.
2013-05-17 17:45:51 +02:00
Casey Lang
fafacc43ca
Add ? to preserve_source_location
2013-05-16 16:15:21 -05:00
Casey Lang
00dd37d2e4
Extract check for force to improve readability
2013-05-16 16:13:13 -05:00
Sebastian Morr
151ffab6fe
Removed space characters in empty lines
2013-05-16 20:27:27 +02:00
Casey Lang
2ce39bc20a
Add '--force' to 'new' command. Implements #1104
2013-05-15 17:29:27 -05:00
Parker Moore
8e3ab9ea36
Backwards-compatibilize 'exclude' and 'include' config tags. Fixes #1109
2013-05-16 00:25:16 +02:00
Parker Moore
ef48cbefec
Merge pull request #1057 from mojombo/refactor-related-posts
...
Move the building of related posts into their own class
2013-05-15 07:25:53 -07:00
Parker Moore
5258e3afa3
Logger ~> Stevenson and don't inherit from Ruby Logger. #1106 .
2013-05-15 15:15:00 +02:00
Matt Rogers
98aff03595
Use Jekyll::Stevenson#formatted_topic for printing messages
...
Beats trying to line them up yourself. :-)
2013-05-14 22:04:34 -05:00
Matt Rogers
ff600bfcd9
Merge branch 'master' into refactor-related-posts
2013-05-14 21:54:12 -05:00
Parker Moore
35f4f09c3e
Rename Jekyll::Logger ~> Jekyll::Stevenson to fix inheritance problem
...
Problem described here: ca888cad76
2013-05-14 21:07:23 +02:00
Parker Moore
8051df0f4c
Release 1.0.2
2013-05-12 15:26:45 +02: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
Parker Moore
28b9e351c4
Merge pull request #1081 from mojombo/relative-permalinks
...
Backwards-compatibilize relative permalinks
2013-05-12 02:55:49 -07:00
Parker Moore
f9502dc9f5
Merge pull request #1078 from maul-esel/fix-num-category
...
Fix number category
2013-05-12 02:52:39 -07:00
Parker Moore
c59cfcfd2e
Not automatically deprecated.
2013-05-12 01:19:04 +02:00
Parker Moore
d9f0dce67d
make sure relative_permalinks is set to TRUE
2013-05-12 01:16:52 +02:00
Parker Moore
2e1316ec8b
Ensure the page is in a subdir. That's the only time it's eff'd.
2013-05-12 01:08:33 +02:00
Parker Moore
6167747440
Say happy things when everything is cool
2013-05-12 01:07:58 +02:00
maul.esel
1b80fc8cc8
always be polite to the user :)
2013-05-11 20:03:55 +02:00
maul.esel
a8788f4a0a
copy over deprecated config option to new one
2013-05-11 19:57:11 +02:00
maul.esel
c44d4248ac
warn on use of deprecated "server_port" option
2013-05-11 19:54:06 +02:00
Parker Moore
0e82b4eb2f
Use site config to determine whether permalinks should be relative.
2013-05-11 18:26:20 +02:00
Parker Moore
161244fd78
Add better language and link to Upgrading page in docs for relative permalinks deprecation msg
2013-05-11 18:06:33 +02:00
Parker Moore
1f23bc4dc0
Add support for relative permalinks
2013-05-11 18:03:03 +02:00
Parker Moore
19bc54bb07
Add doctor command
2013-05-11 18:02:53 +02:00
Parker Moore
6294c4a204
Better-formatted output with relation to 'Generating... done.'
2013-05-11 17:56:42 +02:00
Parker Moore
b355ef6469
Add jekyll doctor command
2013-05-11 17:49:20 +02:00
Parker Moore
e22b1bb74a
Add deprecation support for pages in subfolders with relative permalinks.
2013-05-11 17:40:00 +02:00
maul.esel
eae3ae8479
fix handling of number categories
2013-05-10 14:07:23 +02:00
Roland Warmerdam
2a6c722e78
Add a `data-lang` attribute to code blocks
2013-05-10 19:18:13 +12:00
Matt Rogers
08b49ec9db
Update the display of the LSI progress output
...
It now fits more in line with what the other messages display.
2013-05-08 22:02:23 -05:00
Matt Rogers
64f8a7b228
Move the require for related_posts to jekyll.rb
2013-05-08 07:39:00 -05:00
Parker Moore
0c04e5d55b
Catching that the Redcarpet gem has been installed. Fixes #1059
2013-05-08 11:55:19 +02:00
Christopher Giroir
09fafd6418
Fixing paginate_path on windows
2013-05-07 23:24:10 -07:00
Matt Rogers
f67f7f3db4
Move the building of related posts into their own class
2013-05-07 22:27:38 -05:00
Parker Moore
c758f8d24f
Release 1.0.1
2013-05-08 01:03:14 +02:00
Parker Moore
739f752580
Properly wrap and encode non-pygmentized code.
2013-05-08 00:45:55 +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
2114bb3c2e
Respect pygments config option in Redcarpet renderer.
2013-05-08 00:10:18 +02:00
Parker Moore
1d2f172d6b
Check to make sure there is a toc_token before trying to use it. Fixes #1047
2013-05-07 18:12:47 +02:00
Parker Moore
f9e3cf21f9
Provide backwards-compatibility for change in #1037 .
2013-05-07 16:45:06 +02:00
Parker Moore
6b9ef70d7b
Merge pull request #1037 from djui/patch-1
...
Add newer `language-` class name prefix to code blocks
2013-05-07 07:41:08 -07:00
Matt Rogers
39d33b48b0
Fix the index build with LSI
2013-05-07 06:58:54 -05:00
Parker Moore
d0a9948eed
Let Commander handle bad args after printing of deprecation warning. Fixes #1040 .
2013-05-07 13:15:03 +02:00
Parker Moore
a0ad8a4031
Don't print deprecation warning if no arg is specified. Fixes #1041 .
2013-05-07 13:10:29 +02:00
Uwe Dauernheim
3770bcbdb7
Use newer `language-` class name prefix
...
This change makes it partly possible to use Jekyll+RedCarpet+Prism.js without using a plugin.
Another change will respect Jekyll's `pygments` configuration option and not render the code block using Pygments. Together, these two changes allow using prism.js with Jekyll out of the box.
2013-05-07 02:33:58 +03:00
Pascal Borreli
29b3dc97f0
Fixed typos
2013-05-06 20:27:00 +01:00
Pascal Borreli
410e5912a2
Fixed html
2013-05-06 20:26:39 +01:00
Parker Moore
c7b707cdfd
Ignore --help and --version in Deprecator. Fixes #1030
2013-05-06 20:17:28 +02:00
Parker Moore
4d9d6b689b
Cleaning up the site template CSS.
2013-05-06 01:00:00 +02:00
Parker Moore
06beb4b72b
Bump version for 1.0.0.
2013-05-05 23:02:45 +02: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
50d66831ff
Merge pull request #964 from benbalter/html-template-site
...
Make Template site HTML5
2013-05-05 12:05:47 -07:00
Benjamin J. Balter
8ec08fceb6
Downgrade default site template for Internet exploder
...
Swap `<header>` and `<footer>` tags to `<div>`s, so we can support IE without the need for an html5 shim.
2013-05-05 14:28:58 -04:00
Parker Moore
050e982006
Add extra question to ensure that the index.html file is in thepagination path's directory
2013-05-05 17:26:29 +02:00
Parker Moore
ea71036e8c
Paginate in subdirectories properly. Fixes #878 .
2013-05-05 15:40:13 +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
1b994a9682
Merge pull request #1015 from mojombo/loose-pygments-dep
...
Loosen Pygments Dependency
2013-05-05 04:48:37 -07:00
Parker Moore
dcf3911176
Merge pull request #1014 from mojombo/string-times
...
Parse strings into Time objects for date-related parsing
2013-05-05 04:42:26 -07:00
Parker Moore
ca888cad76
When pygments is required after Jekyll::Logger is required, its internal require to Ruby's stdlib Logger class chokes. This is an ugly-ass work-around.
2013-05-04 15:31:02 +02:00
Parker Moore
3feb18bb56
Redcarpet Parser requires pygments
2013-05-04 15:29:43 +02:00
Parker Moore
3c218d2dcd
Only require pygments where it's needed.
2013-05-04 15:04:57 +02:00
Parker Moore
67aaada839
Clean up some copy in the limit_posts error handling.
2013-05-04 14:57:27 +02:00
Parker Moore
7554c4ce61
Parse strings into Time objects for date-related parsing. Fixes #997 .
2013-05-04 14:01:44 +02:00
Parker Moore
c32b570114
Checking the arguments to ensure we have a subcommand before proceeding. ( #1008 )
2013-04-30 22:17:22 +02:00
Michael Klishin
82ec02905e
Catch all exceptions, not just StandardError descendents
...
We've hit a few edge cases in Liquid/Markdown rendering
with http://clojurewerkz.org documentation sites.
They resulted in exceptions Jekyll silently swallowed because
they were not StandardException subclasses.
2013-04-30 23:33:08 +04:00
Parker Moore
7efd0a8d11
Merge pull request #1004 from uu59/fix_limit_posts_from_cli
...
Fix `jekyll serve --limit_posts n` failed
2013-04-30 06:53:05 -07: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
Parker Moore
b4b66d5713
Merge pull request #1001 from mojombo/refactoring-convertible
...
Refactoring Jekyll::Convertible
2013-04-28 16:43:38 -07: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
Parker Moore
f7fde70f5f
'The Best of Both Worlds,' à la @chad's comment
2013-04-28 15:21:17 +02:00
uu59
ad2c706a34
Fix `jekyll serve --limit_posts n` failed
2013-04-28 02:03:08 +09:00
Parker Moore
5f13e00791
Comments for Convertible.render_all_layouts and Convertible.render_liquid
2013-04-26 21:09:02 +02:00
Parker Moore
fcbab9a3ca
Post#is_published ~> Post#published?
2013-04-26 21:00:47 +02:00
Parker Moore
f7841d1713
Remove unnecessary self.tags.flatten! in favour of a one-line sol'n.
2013-04-26 20:59:54 +02:00
Parker Moore
422a4bd5cd
Renamed tag- and category-instantiation methods
2013-04-26 20:25:07 +02:00
Parker Moore
6d9845a58b
Refactor Post category instantiation
2013-04-26 20:23:58 +02:00
Parker Moore
482986e346
Refactored setting of Post.published flag
2013-04-26 20:21:17 +02:00
Parker Moore
266a52b161
The call to Post#read_yaml was in an unnecessary begin...rescue block.
2013-04-26 20:09:18 +02:00
Parker Moore
09c1c01d07
Refactor Post#related_posts to build the index in a different method
2013-04-26 20:05:52 +02:00
Parker Moore
ffa93c22f1
Refactor Post#to_liquid
2013-04-26 20:03:57 +02:00
Parker Moore
29a1c18300
Refactoring Jekyll::Convertible
2013-04-26 19:36:52 +02:00
Dave Cole
fc09ac4862
Use post's directory path when matching for the post_url tag
2013-04-25 13:58:05 -04:00