Commit Graph

61 Commits

Author SHA1 Message Date
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 cb77a5287b load plugins under safe mode 2010-06-18 17:55:17 -07:00
Tom Preston-Werner a8efc3a0a2 tomdoc and normalize new extension and converter classes 2010-04-21 14:40:29 -07: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 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 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 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 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
Tom Preston-Werner dd5fb69c2f Merge commit 'b1a055f10dc921fd8ec03db703d2fb0608179f4d' 2010-01-13 21:49:22 -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 6b74454a07 resetting to upstream 2010-01-10 10:11:44 +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
Tom Preston-Werner 0dfb486c37 disallow symlinks 2009-08-24 00:10:09 -07: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
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
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 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 921aee23d3 Removing topics for good 2009-05-18 18:28:56 -04:00
Nick Quaranto e1dbda47ed Merging in calavera's pagination branch 2009-05-09 11:44:34 -04: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 db75c8f588 Removing print statement for RDiscount. 2009-04-27 08:33:37 -04: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
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
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
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
Mark 6edfae8c26 Refactored configuration and command-line option code 2009-03-12 20:51:11 +11:00
Tom Preston-Werner 872a221862 Merge commit '992c4a8e6f71334f6c1a422c3547fdc535e7c8c2' 2009-03-10 17:23:30 -07:00
Brandon Dimcheff 992c4a8e6f prevented _posts from being copied to the destination directory 2009-03-04 01:24:52 -05:00
Bjørn Arild Mæland fab8442432 Factored the filtering code into a method 2009-02-25 21:44:07 +01:00
Bjørn Arild Mæland 25d4951f0b Also ignore Emacs autosave files 2009-02-22 22:58:47 +01: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
Chad Ingram d9b183f998 Fix site payload available to files 2009-01-23 04:48:43 -08: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
Tom Preston-Werner 9aff9c8e75 use canonical documentation style 2009-01-02 12:21:39 -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
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