Commit Graph

3044 Commits

Author SHA1 Message Date
Tom Preston-Werner 0dc55aacff Merge remote-tracking branch 'rodrigopinto/master' 2011-05-09 00:55:55 -07:00
Tom Preston-Werner b86bc97c5f Clean up Tumblr importer and update History. 2011-05-09 00:54:26 -07:00
Tom Preston-Werner 9cc9c233d0 Merge remote-tracking branch 'tonycosentini/master' 2011-05-09 00:41:07 -07:00
Tom Preston-Werner 0ce425443f Better Pager.calculate_pages implementation. 2011-05-08 23:44:20 -07:00
Tom Preston-Werner 82bd83fe7f More TomDoc and formatting cleanup. 2011-05-08 23:40:35 -07:00
Tom Preston-Werner aa0d82fa96 Clean up migrators formatting. 2011-05-08 15:08:53 -07:00
Tom Preston-Werner a428acec1c TomDoc some things. 2011-05-08 14:49:19 -07:00
Tony Cosentini e12cbdbea2 Added Tumblr migrator. 2011-05-02 14:31:01 -04:00
Rodrigo Pinto 55f42d26be adding enki migrator 2011-04-28 21:28:13 -03:00
MattHall cf779b2760 Added Redcarpet for MD conversion 2011-04-20 10:04:42 +01: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
Thomas Laumann 3f889ef077 added test case to hard_breaks (disable/enable in _config.yml) 2011-03-23 18:17:14 +01:00
Tom Preston-Werner dce4ccc5a4 Better error message for invalid post date. 2011-03-11 17:52:25 -08:00
Tom Preston-Werner 6c94db1486 TomDoc convertible.rb. 2011-03-11 16:00:32 -08:00
Tom Preston-Werner 68eaadd13a Merge remote-tracking branch 'MattHall/cli' into test 2011-03-10 23:01:18 -08:00
Tom Preston-Werner 01a90904e2 Merge remote-tracking branch 'phatblat/master' into test 2011-03-10 22:51:58 -08:00
Tom Preston-Werner d2814cf750 Merge remote-tracking branch 'elia/master' into devel 2011-03-10 22:38:17 -08:00
Tom Preston-Werner f58a821e20 Merge remote-tracking branch 'MattHall/posterous' into devel 2011-03-10 21:20:38 -08:00
Tom Preston-Werner a31780a1ec Move require to jekyll.rb and update history. 2011-03-10 21:15:29 -08:00
Tom Preston-Werner 5f4dfe388f Merge remote-tracking branch 'zenspider/master' into devel 2011-03-10 21:10:18 -08:00
Aman Gupta 13cc44fb12 sanitize urls and ignore symlinks 2011-03-10 20:14:38 -08:00
Aman Gupta be8b7715d3 speed up cleanup 2011-03-10 20:11:45 -08:00
Aman Gupta 08725eb234 use the new albino gem 2011-03-06 01:57:08 -08:00
Michael J Schultz 9e3ad69922 - added rdiscount filter for templating system (like the textilize filter, but for markdown) 2011-03-03 08:14:52 -06:00
Ryan Davis bd01e647a7 Cleaned up unnecessary string munging 2011-03-02 00:24:17 -08:00
laumann 3468f0a2c3 expanded config yaml to allow setting hard_breaks=false on RedCloth, modified textile converter to take this option into account 2011-02-09 01:37:30 +01:00
Elia Schito 034b06431e Remove double directory creation. 2011-01-27 13:13:12 +01:00
Elia Schito c70dac3cee Take permalink name directly from worpress export file. 2011-01-27 13:12:08 +01:00
Elia Schito ca48ea91e6 Merged wordpress.com migrator fix from 'heuripedes/jekyll' 2011-01-27 12:14:22 +01:00
Elia Schito f68bbcbe8d The Wordpress.com migrator now works and gathers categories as tags. 2011-01-27 02:12:42 -08:00
Ben Chatelain d61c1e930a Fix compile error by making QUERY lowercase (local instead of const) 2011-01-23 15:30:41 -07:00
Ben Chatelain bc3771aa22 Change TABLE_PREFIX from class member to 4th parameter of process method (now lowercase)
Move QUERY into process method
2011-01-23 15:25:33 -07:00
Ben Chatelain e902bb9c30 Change TABLE_PREFIX back to default 2011-01-23 15:21:29 -07:00
Ben Chatelain 42f63f919f Add Jekyll::WordPress.TABLE_PREFIX and inclusion in QUERY 2011-01-23 15:19:26 -07:00
Jeff Hodges b3634b522a adding date to wordpress migrator 2011-01-12 19:37:38 -08:00
lukebayes 717a2540e1 Added support for 'include' configuration parameter. This parameter
should work just like 'exclude', except it gives us the ability
to enumerate any files that should not be ignored - even if they
begin with the dastardly dot or underscore.
2010-12-30 16:41:34 -08:00
Matt Hall 84c1a72443 Updating CLI for importing 2010-12-19 17:38:14 +00:00
Matt Hall c1f0e070c9 Adding Posterous Importer 2010-12-19 16:27:22 +00:00
Tom Preston-Werner 13df722073 Release 0.10.0 2010-12-16 16:29:48 -08:00
Tom Preston-Werner a8a837cc8e Release 0.9.0 2010-12-15 15:36:15 -08:00
Higor Eurípedes 9e0eb75170 updated/fixed wordpress.com migration script 2010-12-15 15:44:01 -03:00
Tom Preston-Werner 36b1f8f9b1 Add Marley migrator. Closes #28. 2010-12-14 15:12:12 -08:00
Tom Preston-Werner c1ed790534 Merge remote branch 'sos4nt/remove-orphaned-files' 2010-12-13 21:18:21 -08:00
Tom Preston-Werner 9bd48752e6 Merge remote branch 'MattHall/master' 2010-12-13 21:12:21 -08:00
MattHall 226c7cc121 Rescue exception when parsing invalid yaml. Prevents silent fail in auto and server mode 2010-12-11 14:30:44 +00:00
MattHall 0a58d78338 Catch Liquid template exceptions, and write out their details. Prevents silent fail of template parsing 2010-12-11 14:23:12 +00:00
Stefan Schüßler 5b680f8dd8 remove orphaned files in destination 2010-12-01 18:04:50 +01:00
Matt Di Pasquale e8fd7ebbc3 Add Drupal migrator 2010-11-30 17:11:23 -05:00
Tom Preston-Werner 31901ee15b Release 0.8.0 2010-11-22 23:08:56 -08:00
Tom Preston-Werner 3ab016870d Prevent _includes dir from being a symlink. 2010-11-22 21:45:35 -08:00
Tom Preston-Werner 61acd47ed2 Merge remote branch 'jasongraham/kramdown-support' 2010-11-22 19:26:58 -08:00
Jason Graham dca30c3ad1 Add kramdown's support for coderay
- no test added so that coderay isn't added to list of developer
    dependencies
2010-11-20 17:46:16 -08:00
Jason Graham f85e229a9e Add support for kramdown HTML converter options
http://kramdown.rubyforge.org/converter/html.html#options

  Example: In the _config.yaml,

  markdown: kramdown

  kramdown:
    auto_ids: true
2010-11-20 17:40:27 -08:00
Jason Graham ac7a0cc95f Add Kramdown support and tests 2010-11-20 17:40:27 -08:00
Tom Preston-Werner 53b999418c Merge remote branch 'stmpjmpr/master' 2010-11-20 11:37:22 -06:00
Scott Hill 00146909f9 Merge remote branch 'remotes/mojombo/master' 2010-11-19 02:38:50 -08:00
Scott Hill a556e4f29e Swapping a '-' for the word separator for imported entries since that's the MT style, and I don't want to break existing permalinks. 2010-11-19 02:36:56 -08:00
Tomasz Stachewicz 9396c9d04c migrators now open Sequel connection to mysql with utf8 encoding. Closes GH-220 2010-11-18 18:14:08 +01:00
Tom Preston-Werner f7ab019a39 Merge remote branch 'claco/uri-escape' 2010-11-17 15:30:34 -06:00
Tom Preston-Werner 054b796b9f Merge remote branch 'cblunt/limit_posts' 2010-11-17 14:56:32 -06:00
Tom Preston-Werner c1a7662311 Merge remote branch 'lpenz/master'
Conflicts:
	History.txt
2010-11-17 12:35:29 -06:00
Christopher H. Laco 4c08643c50 Added uri_escape for cases where cgi_escape isn't appropriate 2010-11-12 11:15:30 -05:00
cblunt f688c9df81 Added limit-posts option to site configuration.
* Added unit tests for limit-posts.
  * Added feature for limit-posts.
  * Added --limit_posts option to bin/jekyll options parser
2010-09-13 00:31:52 +01:00
Leandro Lisboa Penz b1049c84cd Correctly generates file basename. Fixes #208.
The previous procedure generated invalid basenames when the filename had
more than one dot.
2010-09-05 18:11:09 -03:00
Matt Hall b6678d4e43 Added Wordpress.com migrator 2010-09-02 13:36:31 +01:00
Tom Preston-Werner 3fa9af17fa Release 0.7.0 2010-08-24 15:35:18 -07:00
Tom Preston-Werner 391d1a9677 Merge remote branch 'ctrochalakis/rdiscount_extensions' 2010-08-24 15:19:47 -07:00
Postmodern f4fb833d34 The site configuration may not always provide a 'time' setting. Closes #184.
* This fixes a bug on Ruby 1.9.1 and 1.9.2 where Time.parse was being
  passed an emptry String, if the 'time' setting was not defined.
2010-08-24 15:19:22 -07:00
Tom Preston-Werner d9bc00c804 Highlight should not be able to render local files. 2010-08-24 15:05:28 -07:00
Scott Hill b3cec39843 Now adding a "date" to the YAML front-matter of a post, based on the original date the post was authored according to MT. 2010-08-06 10:33:59 -07:00
Scott Hill f6acbb869e Changed the date used by Jekyll to be the date the post was authored on instead of the date it was created. If the latter is used on an imported post, it gets the import date instead of the date the post was originally written. 2010-08-06 01:26:32 -07:00
Scott Hill adf9ca5a05 Added code to change the extension of a post based on the format used to write the post in MT. 2010-08-05 15:36:14 -07:00
Tom Preston-Werner 5e997cae21 Release 0.6.2 2010-06-25 15:56:57 -07:00
Tom Preston-Werner f35d287c66 Fix page.url to include full relative path. Fixes #181. 2010-06-25 15:12:39 -07:00
Tom Preston-Werner 1c3fedbb31 Expand source, destination, and plugin paths. Fixes #180. 2010-06-25 14:40:27 -07:00
Christos Trochalakis a56eeb8289 Add support for rdiscount extensions
Specify extensions at your _config.yml file:

    ...
    rdiscount:
        extensions: [smart, autolink]

Available extensions can be found here:
http://rdoc.info/projects/rtomayko/rdiscount

closes #173
2010-06-25 16:38:45 +03:00
Tom Preston-Werner 908526455c Ensure that RedCloth is loaded when textilize filter is used. Fixes #183. 2010-06-24 18:14:59 -07:00
Tom Preston-Werner 44015665b9 Release 0.6.1 2010-06-23 15:52:56 -07:00
Tom Preston-Werner 6a605753c1 Need double quotes for newline character. Fixes #178. 2010-06-23 15:50:22 -07:00
Tom Preston-Werner 99ee0c4803 Release 0.6.0 2010-06-22 17:56:16 -07:00
Tom Preston-Werner de3ee99d30 Use Dir.pwd for other default paths as well (reverts fix in #101) 2010-06-22 16:22:58 -07:00
Tom Preston-Werner f8484570b7 Merge remote branch 'christianhellsten/master' into next 2010-06-22 16:01:48 -07:00
Tom Preston-Werner de8bd48154 Maruku is now the only processor dependency installed by default. Closes #57.
Other processors will be lazy-loaded when necessary (and prompt the
user to install them when necessary).
2010-06-22 15:17:39 -07:00
Christian Hellsten 46a95bc036 git merge mojombo/master 2010-06-22 15:42:51 +03:00
Tom Preston-Werner aa9993a6c1 Merge remote branch 'koraktor/pygments-options' into next 2010-06-21 19:31:22 -07:00
Antonin Hildebrand f91954be76 optimization: write static file to the destination only if source file timestamp differs
Also make sure static files get regenerated when they are missing in destination.

This is useful in --server --auto mode when it reduces disk/cpu load and also plays nice with xrefresh-server (which was my main motivation) -> soft CSS refresh works again!
2010-06-20 08:02:16 +02:00
Tom Preston-Werner cb77a5287b load plugins under safe mode 2010-06-18 17:55:17 -07:00
Tom Preston-Werner 31c65c56f4 Extension -> Plugin 2010-06-18 15:47:01 -07: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
Gaute Hope 2c542a652d converters/wordpress.rb missing require 'yaml' for to_yaml function. fixes #151. 2010-04-21 14:47:46 -07:00
Tom Preston-Werner a8efc3a0a2 tomdoc and normalize new extension and converter classes 2010-04-21 14:40:29 -07:00
Tom Preston-Werner 03cb12aeb3 convert to use rakegem 2010-04-21 13:55:01 -07:00
Tom Preston-Werner 3efe008544 better docs for jekyll.rb 2010-04-21 13:32:46 -07:00
Tom Preston-Werner 08bc63289d clean up globbed requires 2010-04-21 13:27:39 -07:00
Jon 81971c3342 teach Albino to run on both Windows and *nix 2010-04-21 13:19:38 -07:00
Christian Hellsten 8405d30764 Fixes bug that removes all highlight tags 2010-04-18 01:51:53 +03:00
Kris Brown 18545ddf71 pagination is now a generator extension 2010-02-28 11:17:03 +00:00
Kris Brown fc86c9dd85 extended concept to extensions in general, providing both converters and generators 2010-02-28 10:10:10 +00:00
Kris Brown 84b26a31da removed use of content_type strings in the highlighting tag 2010-02-28 00:11:43 +00:00
Kris Brown 315f4c9222 allow converters to be registered through subclassing much like railties in rails 2010-02-27 23:31:54 +00:00
Kris Brown cedda3afa3 move converters to classes 2010-02-27 22:14:27 +00:00
Kris Brown ff3ca307b9 converters moved to migrators as they should be called this 2010-02-27 20:08:51 +00:00
Kris Brown 1261840769 generate phase added to site#process and pagination is now a generator 2010-02-27 15:31:59 +00:00
Kris Brown ef2fabb189 also provide html_pages. this is better for sitemaps should you wish to auto-populate page entries 2010-02-27 14:09:07 +00:00
Kris Brown e8971b2999 Merge branch 'issue_64_broken' into enh_pages_in_payload 2010-02-27 09:38:05 +00:00
Kris Brown f73dac1582 fixes problem in issue 64 fix where pages like about.md would be output as about.md/index.html. provides the output extension as a method rather than replacing the ext attribute as part of transform 2010-02-27 09:27:36 +00:00
Kris Brown 5a807aa12e pages now present in the site payload and can be used through the site.pages variable 2010-02-27 08:09:13 +00:00
Kris Brown 355b20265e removed whitespace from lazyeye's commit 2010-02-26 21:33:56 +00:00
lazyeye cfd6ebc747 pass time object to liquid when time is specified in front matter 2010-02-26 21:31:01 +00:00
Kris Brown 98fa570c86 added support for consistent site.time in payload, generating the site at a specific time and limiting future posts
squish
2010-02-26 20:52:41 +00:00
Sebastian Staudt ef6aa6b5c4 Added passing of all options to Pygments, not just "linenos" 2010-02-03 14:38:22 +01:00
Tom Preston-Werner a4f3f5c583 Merge commit '0a1e3cd2508c797d7b8d1038636a6e7111e5cd3d'. Fixes #33.
Conflicts:
	features/post_data.feature
2010-01-14 20:00:19 -08:00
Tom Preston-Werner ba77a024d6 fix highlighting on ruby 1.9. fixes #65 2010-01-13 22:33:38 -08:00
Tom Preston-Werner dd5fb69c2f Merge commit 'b1a055f10dc921fd8ec03db703d2fb0608179f4d' 2010-01-13 21:49:22 -08:00
Tom Preston-Werner 2b2e027b34 Render highlighted code for non markdown/textile pages. Fixes #116 2010-01-13 21:30:45 -08:00
Tom Preston-Werner b68149c7bc fix pagination to adhere to read/render/write paradigm 2010-01-12 14:43:28 -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 93c029d62e fixed #73 and #84 2010-01-10 16:14:25 +00:00
Kris Brown e0e4a47af1 added pluralized_array method to Hash and tests 2010-01-10 16:09:24 +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 8d4b96084a Merge commit 'e3bd1c88e9ad6c9d6c89a543ca72c82a289b6bd7' 2010-01-08 18:19:36 -08:00
Tom Preston-Werner 473f3ffc11 Merge commit '597c7a7904198d92aa5eacad356019165685c311' 2010-01-08 18:08:17 -08: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
Tom Preston-Werner c89d8dd0f3 allow .mkd as a markdown extension 2010-01-08 17:26:48 -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
Kris Brown b8c04dfb6d Merge branch 'jamie/master' 2010-01-05 22:59:43 +00:00
Kris Brown 0cb1ebcda1 split process handling into phases to allow pages to have access to full and complete site payload and added some test improvements 2010-01-05 17:05:44 +00:00
Kris Brown 5ea06f3ad9 fixes issue #78, including comprehensive scenarios and tests 2010-01-04 09:39:54 +00:00
Alex Young b1a055f10d Call File.expand_path on source so liquid can see _includes in subdirectories 2009-11-30 17:27:57 +00:00
Jamie Macey fab5a715c5 safely allow loading jekyll customizations from inside a site 2009-11-29 13:25:00 -05:00
Gregor Schmidt 597c7a7904 changes to stdout and -err - tests and behaviour
By using $stdin adn $stderr instead of STDIN and 
STDERR it is possible to capture or redirect them 
using in process ruby code without the need
to manage pipes and external processes
2009-11-24 21:42:22 +01:00
Christian Hellsten 52342fe6e1 Fixed bug where including includes from an include threw an exception. 2009-10-28 02:12:47 +02:00
Patrick Crowley e3bd1c88e9 refactored render_pygments to remove duplicate code 2009-10-23 08:03:25 -07:00
Patrick Crowley 4cc0873172 updated pygments output to wrap code blocks with <code> tags 2009-10-22 21:14:05 -07:00
Tom Preston-Werner 0dfb486c37 disallow symlinks 2009-08-24 00:10:09 -07:00
Jeffry Degrande 176c047ff1 bugfix for permalinks
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-07-14 19:17:44 -04:00
Nick Quaranto 8b678a8f01 Merge commit 'bahuvrihi/master' 2009-06-24 17:33:57 -04:00
Martin Vilcans 05e8deae8d Make configuration accessible from page.
For example, if you have the following in _config.yml:

  url: http://www.librador.com

...you can have the following in an HTML page:

  <a href="{{site.url}}">Home!</a>

This is a reapply of change 7b449239f0908e34f0290c213970e4b14ba2c2df on latest HEAD.

Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-24 08:26:25 -04: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
Nick Quaranto 09946386b1 Adding Date#xmlschema from ActiveSupport for Ruby < 1.9. Closes #47 2009-06-23 18:22:27 -04: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
Gaius Novus 5468548948 creating a Site with an invalid Markdown processor fails sooner and gives a better error message
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-23 08:10:33 -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
Nick Quaranto 52fbd940c3 Merging in eugenebolshakov/permalinks_for_pages 2009-06-22 18:32:18 -04:00
Nick Quaranto 606269b33c Merge commit 'ujh/master' 2009-06-22 18:06:40 -04:00
Bjørn Arild Mæland 414dfbe26e Ruby 1.9 issue, must explicitly run to_s on the err object. Closes #14.
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-22 17:41:51 -04:00
Thomas Jack 0a1e3cd250 stop sorting post categories so they show up in order in the url 2009-06-08 19:26:29 -05:00
Urban Hafner 8379958d95 Order posts by slug name if the date is the same 2009-06-03 08:48:16 +03:00
Urban Hafner 5bbdf2239d Feature for the pagination templating 2009-06-02 11:11:04 +03:00
Urban Hafner a116eaf0ee As we are couting the pages from 1 we have to continue until pages+1 2009-06-02 10:44:34 +03:00
Urban Hafner d79d94277b Correct pagination 2009-06-01 13:12:52 +03:00
Nick Quaranto 486ae25fc1 Validating the configuration loads properly and is a hash, based on jrk's implementation. Closes #22. 2009-05-31 21:33:27 -04:00
Nick Quaranto 86b1450234 Adding tags to the site payload. Derived mostly from Henrik's implementation in 072d9e7 2009-05-18 18:28:56 -04:00
Nick Quaranto 99098dd8c7 Removing the extremely brittle generated_site test and moving the tags check into post.rb so pages don't break 2009-05-18 18:28:56 -04: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
eugenebolshakov 49c39f43a1 the index page should always have index.html permalink no matter what 2009-05-10 15:29:05 +04:00
eugenebolshakov ee0167d706 Made pages respect permalinks style and permalinks in yml front matter 2009-05-10 14:53:00 +04:00
Nick Quaranto 605adf88d5 Shoulda-izing the pager test and correcting some formatting issues 2009-05-09 11:45:36 -04:00
Nick Quaranto e1dbda47ed Merging in calavera's pagination branch 2009-05-09 11:44:34 -04:00
Nick Quaranto d948e0da91 Removing RedCloth gem lock and adding notes in for deps 2009-05-06 12:41:16 -07:00
Nick Quaranto 35a467117e Using CGI.escapeHTML instead of manually replacing a few characters for xml_escape 2009-05-03 08:40:13 -04:00
Martin Vilcans 6968346703 Added cgi_escape filter 2009-05-02 00:44:33 +02:00
Nick Quaranto 53368cc3e1 Making sure excludes can work with a YAML array 2009-05-01 08:28:00 -04:00
Nick Quaranto 252ca94b81 Merging in duritong's exclude branch 2009-05-01 07:59:40 -04:00
Nick Quaranto 26f9ad3d98 Testing for RedCloth notextile issue and locking to 4.1.0, which parses the tag correctly 2009-04-29 09:07:29 -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 db75c8f588 Removing print statement for RDiscount. 2009-04-27 08:33:37 -04:00
Henrik N 3c39612d84 Work around RDiscount bug where Markdown after Pygments-highlighted code would not be parsed as Markdown.
See http://gist.github.com/97682 for a runnable example of the bug.

Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-04-27 08:29:54 -04:00
Henrik N bad2d172ec Make syntax highlighting (Albino, Pygmentize) not break on UTF-8 in code.
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-04-25 23:29:50 -04:00
Nick Quaranto 080108b0f0 Making sure permalinks were set right, and only generating the url once 2009-04-25 01:07:05 -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
David Calavera 6eb29a4808 basename deleted 2009-04-25 00:03:26 +02:00
duritong 9a0485e812 Fix exclude to be an empty array
if no exclude is defined in the config file, the exclude should
simply be an empty array.
2009-04-24 10:04:27 +02:00
Nick Quaranto 563933f114 Update the help message and comments to use config.yml 2009-04-23 18:24:52 -04:00
duritong 5b540cf744 introduce an exclude config option
This is a YAML array for files in the root directory,
which should be excluded to be processed into '_site'.
This can be useful for README, Rakefiles etc.
2009-04-24 00:13:08 +02:00
Thomas Jack dd268fae95 sort posts before rendering so next and previous posts work
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-04-22 22:36:06 -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
David Calavera f099d00cb0 posts' pagination 2009-04-04 12:45:40 +02:00
David Calavera 808d6c6a62 posts' pagination 2009-04-04 12:43:46 +02:00
Nick Quaranto 8d0e3dd0e2 Reset posts, layouts, and categories before processing to prevent duplication when regenerating 2009-04-03 08:39:40 -04:00
Nick Quaranto 829530be36 Adding the categories back into the post payload 2009-04-01 07:36:56 -04:00
Nick Quaranto a4082378f7 Supposedly the include tag was already fixed, merging that in 2009-03-17 23:58:22 -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
Tom Preston-Werner 4c81c4a6b6 fix include tag to use register 2009-03-12 21:20:31 -07:00
Tom Preston-Werner 73d42b24ad Huge refactor to move all config into Jekyll::Site
This commit makes Jekyll threadsafe (or at least makes it possible to be so).
It also makes it a ton easier to use Jekyll as a library for scripted site
transformation. I did, however, break all the tests. =(
2009-03-12 19:05:43 -07:00
mreid cb13ea3000 Rebased with mojombo. All tests pass. Some conflicts with Liquid and Maruku 2009-03-12 21:25:34 +11:00
mreid 4b39c44664 configure now sets the source and dest fields so the Liquid include filter works again 2009-03-12 20:51:12 +11:00
Mark 6edfae8c26 Refactored configuration and command-line option code 2009-03-12 20:51:11 +11:00
Mark 6fec047631 Added ability to set Jekyll parameters via _config.yaml file 2009-03-12 20:46:33 +11:00
mreid e72cde12fa Added option to not put file date in permalink URL 2009-03-12 20:46:33 +11:00
Mark Reid 6a3680c60b Added wordpress converter 2009-03-12 20:44:02 +11:00
Tom Preston-Werner 872a221862 Merge commit '992c4a8e6f71334f6c1a422c3547fdc535e7c8c2' 2009-03-10 17:23:30 -07:00
Tom Preston-Werner fa53f5f7fe Merge commit 'fb4902799746b08424eb7c483f8219e26e20d3e3' 2009-03-10 16:58:22 -07:00
Tom Preston-Werner 54d713b26a Merge commit 'fab8442432f473ba647c682608bc8ff9ced6cca2' 2009-03-10 16:51:26 -07:00
Tom Preston-Werner 86e72a8b25 a few style changes and readme for pretty permalink 2009-03-10 16:39:44 -07:00
Tom Preston-Werner fa1043ca69 Merge commit '7655c745c46559d7598b5558fc9bf6fa8b215e28' 2009-03-10 16:15:32 -07:00
Brandon Dimcheff 992c4a8e6f prevented _posts from being copied to the destination directory 2009-03-04 01:24:52 -05:00
Tim Dysinger 7655c745c4 small patch to support wordpress style pretty blog urls 2009-02-26 09:13:45 -10:00
Ariejan de Vroom fb49027997 Only query required fields from the WP Database. 2009-02-26 10:29:01 +01:00
Bjørn Arild Mæland fab8442432 Factored the filtering code into a method 2009-02-25 21:44:07 +01:00
Ryan Tomayko c180bc47bf close open4 streams to prevent zombies
The popen4 that execs pygmetize leaves a bunch of zombie processes
around unless these streams are closed for some reason. It's not too
bad when running jekyll in one-shot mode but when running with
--server --auto --pygmentize, I eventually get "fork: resource not
available" errors :/ Closing the streams let's the processes die
while the parent stays running.
2009-02-23 22:48:23 -08:00
Bjørn Arild Mæland 25d4951f0b Also ignore Emacs autosave files 2009-02-22 22:58:47 +01: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
Elijah Miller 2135a53897 Using block syntax of popen4 to ensure that subprocesses are properly disposed of.
This fixes resource unavailable errors when jekyll is run with '--auto --pygments':
  Liquid error: Resource temporarily unavailable – fork(2)
  fork: Resource temporarily unavailable
2009-02-19 11:12:26 -08:00
Tom Preston-Werner e9ccc5d600 Merge commit 'ee65dadc9a5ae5fc8f19848754f7175ebd630375' 2009-02-19 00:16:43 -08:00
Kevin Marsh ee65dadc9a Add textilize filter for transforming input into HTML via RedCloth, so you can have Textile-formatted attributes other than the page's content (for example, an excerpt) 2009-02-12 18:21:40 -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
Tim Dysinger a3c18fb095 changed date format on wordpress converter (zeropadding) 2009-02-08 18:37:59 -10:00
Tom Preston-Werner bb4d1ee119 add --version 2009-02-03 18:43:53 -08:00
Tom Preston-Werner c274ed3592 Merge commit 'd9b183f99826df630eedeae29f70005993da3d64' into cat 2009-01-23 14:27:59 -08:00
Tom Preston-Werner fc28a907a8 Merge commit 'bac34fab3a27a12b35add1ecab409b19941e29a6' 2009-01-23 14:22:22 -08:00
Tom Preston-Werner 9b02059054 couple of tweaks to line numbering option 2009-01-23 14:17:38 -08:00
Chad Ingram d9b183f998 Fix site payload available to files 2009-01-23 04:48:43 -08:00
jcon d63f1f92a2 Added line number capabilities to highlight blocks 2009-01-22 14:38:04 -05:00
Tom Preston-Werner 3ee55f1abe Merge commit 'ea70d8ac7ae26f' into amp 2009-01-21 16:04:38 -08:00
Tom Preston-Werner 6d7a7f63bd Merge commit 'd397b762dae' 2009-01-21 15:54:02 -08:00
Tom Preston-Werner 5311b71a5c fix accessor line conflict 2009-01-21 15:25:55 -08:00
Tom Preston-Werner 145a2cce75 Merge commit '6980948528f' 2009-01-21 15:13:10 -08:00
Tom Preston-Werner 46259d0e43 Merge commit 'a0da1249a31faa704' 2009-01-21 15:08:18 -08:00
Tom Preston-Werner 73a5478664 Merge commit '5cfa956448f00730' 2009-01-21 15:04:57 -08:00
Tom Preston-Werner e77b6f8a57 Merge commit '32a9b6b8dd330e826' 2009-01-21 15:00:15 -08:00
Aristotle Pagaltzis f7a40f4d6d entitify ampersands to prevent malformed unescaping output 2009-01-20 10:12:23 +01:00
Brian McKenna d397b762da Ampersands need to be escaped. 2009-01-20 11:35:45 +10:00
mreid 0b78c32771 Added option to not put file date in permalink URL 2009-01-19 19:58:53 +11:00
Brian Doll 6980948528 Allowing .htaccess files to be copied over into the generated site, to help those migrating from other blogging systems. Used an array inlcusion check vs. == in case there are other special cases like this, subtly thumbing my nose at YNGNI I guess. 2009-01-16 14:44:32 -08:00
Zachary Pinter 5cfa956448 Fixed an issue with pygments, markdown, and newlines. 2009-01-11 12:03:46 -07:00
Per Christian B. Viken 32a9b6b8dd created a converter for textpattern, and a simple usage guide 2009-01-09 21:10:52 +01:00
Michael D. Ivey a0da1249a3 Add a working Mephisto / MySQL converter 2009-01-04 18:58:54 -06:00
Luismi Cavalle 15c5a78a47 Fixing permalink support 2009-01-05 00:35:59 +01:00
Tom Preston-Werner 94c06d0100 more flexible textile and markdown extension matching 2009-01-02 13:07:48 -08:00
Tom Preston-Werner 23e97c1118 Merge commit '87a5e747f' 2009-01-02 12:27:25 -08:00
Tom Preston-Werner 9c52bccafb Merge commit '4f677f627ef569be8' 2009-01-02 12:24:46 -08:00
Tom Preston-Werner 9aff9c8e75 use canonical documentation style 2009-01-02 12:21:39 -08:00
Basil Shkara feff93c603 If title is ommitted from a Post's YAML, use the filename's slug. 2009-01-02 12:18:36 -08:00
Basil Shkara 4db696152c Added new accessible Liquid attribute for Sites: .topics.
Behaves like the .categories attribute.
2009-01-02 12:18:23 -08:00
Marc Chung 87a5e747fd Added array_to_sentence_string filter 2008-12-30 11:33:22 -07:00
Mikael Lind 4f677f627e apply Liquid templating to includes 2008-12-27 13:03:03 +01:00
Toby DiPasquale 29313b046c fixing typo in lib/jekyll/converters/mt.rb 2008-12-26 22:51:15 -05:00
Toby DiPasquale e0e7bf10d1 added Typo 4+ conversion module and docs 2008-12-26 22:44:34 -05:00
Josh Dady bac34fab3a Test and fix the site.categories hash 2008-12-25 13:49:56 -05:00
Josh Dady 340dd68ee5 Didn't I try using standard Liquid filters first? 2008-12-25 10:00:46 -05:00
Josh Dady 0b089c5049 Merge branch 'date-format' 2008-12-25 09:39:41 -05:00
Josh Dady 863b0dd990 Okay, I didn't really need to create a new filter 2008-12-25 09:31:33 -05:00
Josh Dady 5b886e8704 Added a strftime filter 2008-12-25 09:23:57 -05:00
Tom Preston-Werner e7b2df1156 up to 0.3.0 2008-12-24 22:10:22 -08:00
Tom Preston-Werner dd8054411c deep merge hashes so as to not lose data 2008-12-24 22:06:42 -08:00
Nick Gerakines 8477cb5946 Adding Movable Type migration library to lib/jekyll/converters/. 2008-12-24 16:16:18 -08:00
Mark Reid a8ab6a0adb Added wordpress converter 2008-12-24 15:39:32 -08:00
Tom Preston-Werner 9fb1f6e7c8 fix backup file ignore merge 2008-12-24 15:36:47 -08: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 2074f92ed6 Merge commit '5a954e' 2008-12-24 11:49:20 -08:00
Mikael Lind d85c0d3236 ignore backup files (end with "~") 2008-12-24 19:24:15 +01:00
Mikael Lind 5a954e04c8 fixed a path bug in read_posts() 2008-12-24 19:08:05 +01:00
remi 0f848ee2d7 Rendered post content wasn't available when pages were being rendered (as {{ site.posts }}). This ensures that we read & render _posts before rendering other pages. 2008-12-23 04:59:47 -07:00
Tom Preston-Werner 8a2a42ba71 restrict include filenames 2008-12-21 23:17:41 -08:00
Tom Preston-Werner fd88a56c55 fix double slash caused by empty categories 2008-12-21 21:26:33 -08:00
Tom Preston-Werner bb676556a8 properly reject directories in _layouts 2008-12-21 21:13:14 -08:00
Tom Preston-Werner a9f74bc076 small stylistic change 2008-12-21 20:52:41 -08:00
Tom Preston-Werner bd1e5a6095 Merge commit '6d8c73' 2008-12-21 17:56:08 -08:00
Tom Preston-Werner 10bc499ce2 Merge commit '8d08a2' 2008-12-21 17:48:41 -08:00
remi 6d8c73349e merged Post's YAML front matter into its to_liquid payload, just like Page does. allows {{ page.arbitrary_yaml_data }} (cleaner than {{ page.data['arbitrary_yaml_data'] }}) 2008-12-20 12:53:07 -07:00
remi 4c05729adc made post's YAML front matter available as post.data 2008-12-20 12:45:30 -07:00
Mark Reid 8d08a295ae Added new date filter that shows the full month name. 2008-12-19 15:09:06 +11:00
Mark Reid 46d8fa0d56 Fixed bug that meant page data (such as the date) was not available in templates 2008-12-19 13:03:53 +11:00
Mark Reid b18ad30880 Changed YAML delimiter matcher so as to not chew up 2nd level markdown headers 2008-12-18 23:11:34 +11:00
Mark Reid 3a8f7a8e3a Added post categories based on directories containing _posts 2008-12-16 17:52:00 +11:00
Tom Preston-Werner ed60ad6f72 up to 0.2.1 2008-12-15 12:34:34 -08:00
Tom Preston-Werner 59080271ed allow use of rdiscount if --rdiscount is set and gem is installed 2008-12-15 12:27:57 -08:00
Tom Preston-Werner bcb67ecc23 Merge commit 'b094b9' 2008-12-15 11:58:52 -08:00
Mark Reid b094b93301 Replaced rdiscount with Maruku for Markdown with equation support 2008-12-15 16:17:45 +11:00
PJ Hyett 6502f865a6 Merge branch 'master' of git@github.com:pjhyett/jekyll 2008-12-14 18:41:00 -08:00
PJ Hyett bf9dda6c9a don't require directory_watcher unless it's needed 2008-12-14 18:40:45 -08:00
Tom Preston-Werner de2959b8ea up to 0.2.0 2008-12-14 15:16:16 -08:00
Tom Preston-Werner d48157cf33 move related_posts into site data 2008-12-14 14:58:03 -08:00
Tom Preston-Werner 09976686e7 remove empty line 2008-12-14 14:07:40 -08:00
Tom Preston-Werner 0d84487d79 up to 0.1.6 2008-12-13 18:21:14 -08:00
Tom Preston-Werner 1006583628 only load classifier gem if necessary 2008-12-13 17:16:01 -08:00
Tom Preston-Werner 8b2aedc951 implement include tag 2008-12-13 17:12:38 -08:00
Tom Preston-Werner 906ccbb873 up to 0.1.5 2008-12-12 21:09:45 -08:00
Tom Preston-Werner b1bf818c6d disable true LSI by default, enable with --lsi 2008-12-12 21:03:16 -08:00
Tom Preston-Werner f00272ea52 use pygments for code highlighting if --pygments is specified 2008-12-12 20:01:40 -08:00
Tom Preston-Werner 1e13d2f91f Merge commit '01828dada88a6ce2ebd72268c87d79d7bd60a3fd' 2008-12-10 16:03:56 -08:00
Tom Preston-Werner 3fe1381dca Merge commit '767d99b5bffc9fd188b1fbd1b67aef20014bc1b7' 2008-12-10 15:56:00 -08:00
Tom Preston-Werner 3041cf6ad4 Merge commit 'c31d67' 2008-12-10 15:51:14 -08:00
Tom Preston-Werner 436ada3679 Merge commit 'f3a1aa' 2008-12-10 15:47:58 -08:00
Jack Danger Canty f3a1aa99e2 updating some comments in Page that referred to Post 2008-12-10 15:24:49 -08:00
Jack Danger Canty ece127c865 Adding some comments to transform_pages to explain what's going on 2008-12-10 13:53:41 -08:00
Jack Danger Canty 96bf21dce7 Updating documentation for Convertible#do_layout
Making it clear that this method doesn't just work on posts
2008-12-10 13:53:32 -08:00
Jack Danger Canty 3840380c8d Updating the documentation for Site#transform_pages 2008-12-10 13:53:23 -08:00
Jack Danger Canty c31d676f0f skipping related_posts when there is only one post.
Without this the Matrix class raises an error trying
to coerce nil into a Matrix.
2008-12-10 13:51:53 -08:00
Jack Danger Canty 01828dada8 Preventing Jekyll from picking up the output directory as a source
If you attempt to have Jekyll output to a subdirectory of the
source it may recursively copy the destination as it writes it.
2008-12-10 13:51:21 -08:00
Tom Preston-Werner cc047da660 up to 0.1.4 2008-12-08 16:13:18 -08:00
Jack Danger Canty 767d99b5bf Fixing that the rdiscount require rescue didn't catch. 2008-12-07 23:08:26 -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 c58d4e71ba up to 0.1.3 2008-12-06 16:14:40 -08:00
Tom Preston-Werner 5b0ce6dddc add directory_watcher dep 2008-12-06 16:09:52 -08:00
Chris Van Pelt 4fc33a6dfe Got rid of the templating step in the initialize method 2008-11-23 23:39:16 -08:00
Chris Van Pelt 111f76b2fd Nice little word count 2008-11-23 23:38:43 -08:00
Chris Van Pelt 2118b55045 I ended up having to wrap the pre code in a div for RDiscount not to freak 2008-11-23 23:36:29 -08:00
Chris Van Pelt aba5089283 Various conversion scripts from other blogging engines 2008-11-23 14:55:39 -08:00
Chris Van Pelt d8c54fa51a Custom liquid tag for creating code blocks 2008-11-23 14:55:15 -08:00
Chris Van Pelt bcde0bd608 Removed the transform from initialize to convertable right after the liquid template has been parsed 2008-11-23 14:54:49 -08:00
Chris Van Pelt b9cdfc8824 Modified the yaml regex to accept both \r\n and \n 2008-11-23 14:53:45 -08:00
Chris Van Pelt e2678114d9 Trys to require RDiscount and falls back gracefully, added require for the new blocks module 2008-11-23 14:52:02 -08:00
Tom Preston-Werner c742fb7701 implement a real related posts feature. up to 0.1.2 2008-11-22 12:36:32 -08:00
Tom Preston-Werner 1838d91902 up to 0.1.1 2008-11-22 00:19:40 -08:00
Tom Preston-Werner 4f951b9b5d send introspection data to posts 2008-11-21 18:48:35 -08:00
Tom Preston-Werner bffdeee637 rename to Jekyll 2008-11-17 11:07:54 -08:00
Tom Preston-Werner e964bc5856 treat _ dirs special 2008-11-16 22:39:24 -08:00
Tom Preston-Werner 551ca08296 rename to conveyer 2008-11-16 21:29:15 -08:00
Tom Preston-Werner af673529cb allow nested layouts 2008-11-05 22:00:30 -05:00
Tom Preston-Werner 9ff7aa3c57 set version 0.1.0 2008-11-05 18:18:28 -08: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 f4d8dcb64d get multiline yaml frontmatter 2008-11-05 18:11:58 -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 c98911f5c1 naive related posts implementation 2008-11-03 12:30:33 -08:00
Tom Preston-Werner b2d2d09f95 sort posts by reverse chronology 2008-10-21 23:25:22 -07:00
Tom Preston-Werner 93afa8ca72 add Post#id 2008-10-20 13:36:37 -07:00
Tom Preston-Werner 4ef3aedb6a handle atom feed generation 2008-10-20 12:41:43 -07:00
Tom Preston-Werner 07fe6cd128 add filters 2008-10-19 23:28:49 -07:00
Tom Preston-Werner 2a82259fc9 fix textilization of pages 2008-10-19 23:10:24 -07:00
Tom Preston-Werner 33dbb78137 got pages working 2008-10-19 22:46:08 -07:00
Tom Preston-Werner ac3e24ac59 add binary 2008-10-19 22:18:28 -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 bb0fb49aee update read_layouts with better code 2008-10-19 20:19:50 -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
Tom Preston-Werner 6fb91f4f7d cleanup and tests 2008-10-19 19:45:47 -07:00
Tom Preston-Werner 7dfe32a597 read layout files into hash 2008-10-19 19:35:43 -07:00
Tom Preston-Werner d189e05d23 first commit 2008-10-19 19:07:26 -07:00