Beau Simensen
e6d89c6a0f
More testing, whitespace and comment cleanup.
2012-01-22 22:17:25 -08:00
Beau Simensen
dcf546275b
Tweaked plugin directory handling, tests.
2012-01-22 22:10:12 -08:00
Tom Preston-Werner
d00bc8e8fe
Merge branch 'master' of https://github.com/tmtk75/jekyll into tmtk75-master
2012-01-21 19:49:08 -08:00
Tom Preston-Werner
89180169a4
Merge branch 'include' of https://github.com/lukebayes/jekyll into lukebayes-include
...
Conflicts:
lib/jekyll.rb
lib/jekyll/site.rb
2012-01-14 19:48:04 -08:00
Tomotaka Sakuma
76fa7f016b
Fix an issue NoMethodError happens in case number of files under _posts is less than limit_posts.
2011-11-28 16:32:20 +09:00
Beau Simensen
ab08acace9
Support plugins being a list of directories to scan.
2011-11-21 21:09:39 -06:00
Lee Jarvis
6a756881f9
clean up some warnings
2011-06-03 23:38:39 +01:00
Tom Preston-Werner
851172b5ef
Replace rdiscount filter with config-aware markdownify.
2011-05-31 14:40:21 -07:00
Tom Preston-Werner
82bd83fe7f
More TomDoc and formatting cleanup.
2011-05-08 23:40:35 -07: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
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
Stefan Schüßler
5b680f8dd8
remove orphaned files in destination
2010-12-01 18:04:50 +01: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
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
1c3fedbb31
Expand source, destination, and plugin paths. Fixes #180 .
2010-06-25 14:40:27 -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
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
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
bb676556a8
properly reject directories in _layouts
2008-12-21 21:13:14 -08:00
Mark Reid
3a8f7a8e3a
Added post categories based on directories containing _posts
2008-12-16 17:52:00 +11:00
Tom Preston-Werner
1e13d2f91f
Merge commit '01828dada88a6ce2ebd72268c87d79d7bd60a3fd'
2008-12-10 16:03:56 -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
3840380c8d
Updating the documentation for Site#transform_pages
2008-12-10 13:53:23 -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
bffdeee637
rename to Jekyll
2008-11-17 11:07:54 -08:00