Commit Graph

2683 Commits

Author SHA1 Message Date
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
Parker Moore
61c24c601a Add UTF-8 encoding where we read in YAML so it reads in UTF-8 characters properly. Fixes #836. 2013-04-25 02:15:25 +02:00
Stephen McDonald
a38902b5a7 Use valid css class names when pygments language contains invalid chars, eg html+jango 2013-04-23 06:48:31 +10:00
Parker Moore
24aabbe05f Moving comparison for PostUrl tag to the PostComparer class 2013-04-22 12:57:52 +02:00
maul.esel
d73841c961 always ADD a leading slash to page.url or post.url 2013-04-20 13:15:40 +02:00
maul.esel
c6df2e150a remove leading slash from page.url and post.url 2013-04-19 16:37:48 +02:00
Parker Moore
ba64a9fe30 Fail if destination directory for jekyll new exists and is not empty. Fixes #981. 2013-04-16 18:24:10 +02:00
Benjamin J. Balter
11419868dc CSS reorganization
1. Fix regression on s/.footer/footer/
2. Fix whitespace and tabbing
3. Reorganize properties more logically
2013-04-16 09:48:18 -04:00
Parker Moore
6ed41e373c Remove code duplication: #write in Page and Post is the same. 2013-04-16 02:55:31 +02:00
Parker Moore
c0c0150bb5 Release 1.0.0.rc1 2013-04-16 00:47:31 +02:00
Parker Moore
82f32d5c02 Merge configuration properly. Closes #978. 2013-04-16 00:41:10 +02:00
Benjamin J. Balter
55b890b407 Move site title to H1 tag, wrap header in header tag. 2013-04-15 16:50:01 -04:00
Benjamin J. Balter
223dbdc155 86'd conditional IE classes 2013-04-15 13:37:05 -04:00
Parker Moore
e7546a98f6 Remove unnecessary override of #read_yaml in Page. 2013-04-15 19:24:23 +02:00
Benjamin J. Balter
14ca57893f 86'd Chrome Frame in template site 2013-04-15 12:04:27 -04:00
maul.esel
b7064a4bc3 remove 'post' and 'page' default layouts 2013-04-15 17:24:09 +02:00
Parker Moore
b4f68baafb Jekyll.set_timezone accepts just the timezone, not the config 2013-04-15 15:39:36 +02:00
Parker Moore
c0a2d0f888 Fixed syntax error 2013-04-15 00:42:13 +02:00
Parker Moore
b249289b9d Set the timezone for the process 2013-04-15 00:42:13 +02:00
Parker Moore
d33f45ff05 Merge branch 'master' of github.com:mojombo/jekyll
* 'master' of github.com:mojombo/jekyll:
  Print deprecation warnings for 'server', 'watch' and 'auto' when loaded from files. Fixes #972
  Fixes multiple config loading. Closes #973. Rel: #945.
2013-04-15 00:32:17 +02:00
Parker Moore
f7310f554e Whitespace in post.rb 2013-04-15 00:32:04 +02:00
Parker Moore
55a964a7da Print deprecation warnings for 'server', 'watch' and 'auto' when loaded from files. Fixes #972 2013-04-14 23:18:47 +02:00
Parker Moore
e531925cae Fixes multiple config loading. Closes #973. Rel: #945. 2013-04-14 23:04:20 +02:00
Parker Moore
e0335e2167 .formatted_topic has moved back to Jekyll::Logger. Update Build.watch to use it 2013-04-14 20:21:39 +02:00
Parker Moore
398cd633b6 Merge pull request #959 from mojombo/deprecator
Refactor Logging and Deprecation Messaging
2013-04-14 11:05:07 -07:00
Parker Moore
4ef107f3e8 Remove Logger methods from main Jekyll module. 2013-04-14 19:27:19 +02:00
Benjamin J. Balter
ba2281c4a3 Strip CSS, JS, and IMG from template site
Per #964, just upgrade the template site from XHTML to HTML5,
leaving the existing CSS. No need to get fancy.

The HTML is essentially HTML5 Boilerplate. No need for a holy war.

Look and feel should remain the same.
2013-04-14 12:52:27 -04:00
Parker Moore
81e44bf5f4 Merge pull request #955 from mojombo/refactor-markdown
Refactor Markdown Parser Logic
2013-04-13 20:25:37 -07:00
Parker Moore
7a7990fb9a Moved markdown converters into lib/jekyll/converters/markdown 2013-04-14 05:23:42 +02:00
Parker Moore
c708d1d71b Merge pull request #907 from advatar/pkpass_mime_type_support
Added pkpass to the list
2013-04-13 19:17:35 -07:00
Parker Moore
ef51b0f9e4 Error message is red 2013-04-13 20:27:44 +02:00
Parker Moore
ef9d8ddb7d Matching tests to new colorized output 2013-04-13 20:24:45 +02:00
Parker Moore
b99baeae27 Colorize warns as yellow 2013-04-13 19:58:41 +02:00
Parker Moore
9b5ebb874f Merge pull request #961 from benbalter/default-markdown-engine
Move template site to default markdown renderer
2013-04-13 10:26:34 -07:00
Benjamin J. Balter
1163fa905e Make template site HTML5
It would really pain me if the default Jekyll site were XHTML. That'd be bad for the internet.

Instead, use Twitter Bootstrap as a base (while still keeping @mojombo's origin design), to give users a great initial baseline to build beautiful, simple sites.

Defaults are more than just the starting point. It's what 80% of users are going to use. Look at WordPress and the default theme. May as well lead by example and start the user off right.

* Add Bootstrap base CSS as a better reset and base layer
* Update default layout to HTML5 with boilerplate best practices
* Add title and post date to post.html (rather than including in the post itself)
* Make site title a variable and add to _config.yml
* Add page title to header
* Add default .gitignore to ignore `_site`
* Remove unused `rss.png` and `.gitkeep`
* Add Modernizr for legacy IE support
2013-04-13 13:15:31 -04:00
maul.esel
40e44a2051 do not force the permalink to be a dir if it ends on .html
Fixes #798.
2013-04-13 18:45:40 +02:00
Benjamin J. Balter
485b37e3d1 move template site to default markdown renderer 2013-04-13 12:41:03 -04:00
Brian Kim
028e580bb8 Remove short-circuits from Site 2013-04-13 12:39:49 -04:00
Brian Kim
e7815d873c Add implicit defaults to DEFAULTS 2013-04-13 12:37:38 -04:00