Parker Moore
90807ac6e7
DEM TESTS
2014-04-14 22:44:29 -04:00
Parker Moore
08162dbb50
Hey girl, i heard you like YAML.
2014-04-14 22:44:29 -04:00
Parker Moore
50b46d7bee
OMG it's happening ~*Collections*~
2014-04-14 22:44:29 -04:00
Parker Moore
a77c92aebe
Replace load-in of YAML data with Jekyll::Document logic.
...
COLLECTIONS IS COMING
2014-04-14 22:43:09 -04:00
Matt Rogers
6be33cf6ef
Merge pull request #1492 from maul-esel/publishing
2014-04-14 20:17:01 -05:00
Parker Moore
4f66db6c38
Merge pull request #2211 from jekyll/pgp-key-header-frontmatter
2014-04-14 12:59:59 -04:00
Ben Balter
b666ac787b
Stricter start of line check via \A
2014-04-11 15:15:37 -04:00
Ben Balter
387cf2181a
use regex to verify yaml existence
2014-04-11 08:00:40 -04:00
maul.esel
46a5ab99f9
Support "published: false" for pages
...
Fixes 1034.
2014-04-07 16:22:04 +02:00
maul.esel
3a330dc7fc
Use Publisher instead of Post#published?
2014-04-07 16:20:13 +02:00
maul.esel
91e9ecfa63
Add an --unpublished option to render unpublished posts
...
Fixes #1337 , #469 .
2014-04-07 16:17:12 +02:00
Marcus Stollsteimer
fec6b59950
Use File.exist? instead of deprecated File.exists?
2014-04-06 13:31:34 +02:00
Ben Balter
823c863a53
require newline after start of yaml header
2014-04-05 17:34:08 -04:00
Parker Moore
6bd07501e8
Merge branch 'frontmatter-defaults' of git://github.com/maul-esel/jekyll into maul-esel-frontmatter-defaults
...
* 'frontmatter-defaults' of git://github.com/maul-esel/jekyll:
move self.type to convertible
oops, fix minor indentation quirk
document frontmatter defaults precedence
adjust frontmatter defaults precedence handling
change cucumber feature to test for precedence too
fix frontmatter defaults for custom paths
more robust cucumber features
fix slash handling for paths
move cucumber features to own file
fix minor docs quirk
improve path checking, now using Pathname instead of regex
Add site documentation for the new feature
add inline code docs
improve validation code
fix for Ruby 1.8
Add basic cucumber features for frontmatter defaults
Retrieve frontmatter defaults when retrieved internally
make frontmatter defaults available to liquid
add a class `FrontmatterDefaults` for handling of frontmatter defaults
Add a method to retrieve type to post, page and draft
Conflicts:
lib/jekyll.rb
lib/jekyll/convertible.rb
lib/jekyll/core_ext.rb
lib/jekyll/page.rb
lib/jekyll/post.rb
2014-04-04 15:32:27 -04:00
Parker Moore
1863057b7e
Ok handle the plugins_path stuff in the PluginManager.
2014-04-02 22:06:38 -04:00
Parker Moore
4a4c8846f4
Fetching/determining the plugin path is beyond this it's kind of sad.
2014-04-02 21:59:15 -04:00
Parker Moore
f418ea5fc3
Extract plugin management into its own class.
2014-04-01 18:10:51 -04:00
maul.esel
8c0e5d8d98
remove duplicate code for tags and categories
...
Previously the `Site#tags` and `Site#categories` actually had the
same structure as a hash returned by `Site#post_attr_hash()`, but
maintained separately. Remove this duplicated infrastructure. For
backwards-compatibility for plugins, provide aliases for them.
2014-03-31 01:02:08 +02:00
Fabian Rodriguez
302bc46914
rename variable inside block
2014-03-27 19:53:28 -03:00
Fabian Rodriguez
adcfde14ed
align 'end' with 'def'
2014-03-27 19:52:52 -03:00
Daniel Schauenberg
81e4e1d8f4
add support for unpublished drafts
...
I keep all my ideas for blog posts as drafts in my draft folder. However I'm
only really working on a couple at once. This let's me mark drafts that I'm
not working on right now as unpublished so they don't clutter the site while
I'm checking on the other drafts.
2014-03-22 19:52:10 -04:00
Corey Ward
f1c4e247a5
Remove unnecessary references to `self`
2014-02-21 16:27:21 -06:00
Parker Moore
e0166682da
Sort the static files by relative path before sending to liquid
2014-02-19 14:02:03 -05:00
Parker Moore
949aa3fc32
Test fetching of static files
2014-02-19 13:16:21 -05:00
Parker Moore
6e40338f9e
Expose site.static_files to Liquid
2014-02-19 13:04:33 -05:00
Matt Rogers & Persa Zula
fd92820b03
Remove Site#read_layouts
2014-02-06 22:46:09 -06:00
Matt Rogers
f581940c71
Create a LayoutReader class to read layouts
2014-02-06 22:22:06 -06:00
Dan Tao
4f0b1bdf6d
switched from YAML.safe_load* to SafeYAML.load*
2014-01-23 17:25:17 -08:00
liufengyun
22e1e5f28c
make sure pages with published being false are not generated
2014-01-19 09:52:19 +08:00
Matt Rogers
6f394e82b5
Rename read_things to read_content.
2014-01-11 15:29:22 -06:00
Parker Moore
42fc5e9ee7
Excludes should be relative to the site source
2014-01-05 10:45:42 -08:00
Robin Dupret
92064134d6
Rename the pygments option to highlighter
...
Rename the pygments configuration option to highlighter to allow
different highlighters in the future. For now, the allowed values are
`pygments` and `null`.
It's now more straightforward to plug another syntax highlighter.
2013-12-22 12:45:15 +01:00
Aidan Feldman
3c1d45f45f
Sort pages by name by default
...
The order that files are returned differs across operating systems, so
ensure that they're being sorted after the fact.
2013-12-19 01:02:25 -05:00
Matt Rogers
ed82098162
Merge pull request #1796 from mojombo/fix-fetching-things
...
Reject nil entries in Site#read_things
2013-12-09 18:23:19 -08:00
Parker Moore
bf9cf5340d
Reject nil entries in Site#read_things
2013-12-09 12:46:57 -05:00
Parker Moore
b58cd5c132
Merge pull request #1657 from mojombo/safe-whitelist
...
A gem-based plugin whitelist for `safe` mode
2013-12-07 21:41:55 -08:00
Persa Zula
6a13f7dd57
Modifying enumerator for 1.8.7
2013-12-06 01:28:21 -05:00
Matt Rogers & Persa Zula
e69d77b4df
Refactor post and draft object creation
...
De-duplicate object creation between posts and drafts. Inject the name
dependency through a parameter
2013-12-06 01:28:21 -05:00
Parker Moore
e91db82d26
I mean the argument and the local variable should be the same thing
2013-12-06 01:07:34 -05:00
Parker Moore
f0fbc8f356
Refactor conditions for allowing plugins into a new method: Site#plguin_allowed?
2013-12-06 00:26:44 -05:00
Parker Moore
249b13a98a
Hm, shouldn't need that call to 'rescue' in Site#whitelist
2013-12-06 00:24:59 -05:00
Parker Moore
5c9f9a4de8
The whitelist should be an array (not a file)
...
Default to `[]` if the key’s value is falsey
2013-12-06 00:23:22 -05:00
maul.esel
f1869cda98
Merge branch 'master' into frontmatter-defaults
2013-12-05 19:29:57 +01:00
Matt Rogers
4a2e5af52e
Merge pull request #1682 from envygeeks/patch-1
...
Sort plugins so people can have "load orders".
2013-12-04 18:40:04 -08:00
Parker Moore
615d49ed66
Remove Site.whitelist attribute.
2013-11-04 23:24:21 -05:00
Parker Moore
a4b9bab1dc
Add --whitelist flag and internal logic
2013-11-04 23:24:21 -05:00
Parker Moore
480e35037b
A start at a gem-based plugin whitelist for Pages.
2013-11-04 23:24:21 -05:00
Matt Rogers
6791f9fc12
Use the new `EntryFilter` class in `Site`
2013-11-04 21:35:53 -06:00
Jordon Bedwell
7a1f63d994
Sort plugins so people can have "load orders".
...
This allows for people to do something like "_plugins/1-autoload-global.rb" and have it load first and so on making it much easier to organize code and have a "header file" that does all the requiring up front if it's needed for all plugins.
2013-10-31 07:12:54 -05:00
Matt Rogers
23ad7fa4bd
Merge pull request #1557 from mojombo/require-gems-plugins
...
Add `gems` for better plugin management
2013-10-23 07:39:43 -07:00
maul.esel
c2aa26280c
extract pages.any?... in own method
2013-10-17 15:17:58 +02:00
maul.esel
f0aac30491
remove duplicated render code for posts and pages
2013-10-17 12:07:30 +02:00
maul.esel
7232948b62
simplify relative permalink deprecation
2013-10-17 12:06:21 +02:00
maul.esel
20ea0c8d56
Merge branch 'master' into frontmatter-defaults
2013-10-14 19:44:06 +02:00
Juan Ignacio Donoso
87ef39aeb0
Add support for use of folders inside _layout path, closes #1622
2013-10-08 14:19:12 -03:00
Parker Moore
310688297b
I guess we'll wait until v2.0 to switch to absolute permalinks.
2013-10-04 15:03:05 -04:00
Parker Moore
bf1d9a79c4
Add support for gem-based plugins.
2013-10-04 14:45:28 -04:00
liufengyun
760cbc7f91
Autoload yaml files under _data directory
...
The jekyll engine will autoload all yaml files(ends with .yml or .yaml)
under _data. If there's a file members.yml under the directory, then user
can access contents of the file through site.members.
2013-10-01 11:23:33 +08:00
Shigeya Suzuki
97e052df63
Pass encoding parameter as string, not an object
2013-09-19 12:21:26 +09:00
MURAOKA Taro
8a28d80690
add encoding for configuration
2013-09-19 12:21:25 +09:00
maul.esel
bec4a07c12
Fix handling of source-dest matching being too aggressive
...
Fixes #1130 .
2013-09-16 14:41:20 +02:00
maul.esel
b3fdaa9792
add a class `FrontmatterDefaults` for handling of frontmatter defaults
2013-09-11 00:55:28 +02:00
Parker Moore
b7e34175d0
Put version under 'jekyll' namespace.
2013-08-30 18:54:03 -04:00
Parker Moore
20f44be87f
Merge branch 'patch-1' of git://github.com/pathawks/jekyll into pathawks-patch-1
...
* 'patch-1' of git://github.com/pathawks/jekyll:
Use proper Ruby syntax for constant
Expose Jekyll version to templates
2013-08-30 18:50:58 -04:00
Matt Rogers
a9e2a74ea6
Merge pull request #1341 from maul-esel/minor-refactors
...
Minor refactors
2013-08-29 20:21:08 -07:00
maul.esel
d28858a9e9
put the Cleaner instance in a `Site#site_cleaner` method
2013-08-19 20:15:54 +02:00
maul.esel
5d7dba476c
change site_cleaner to use attr_accessor
2013-08-17 22:33:01 +02:00
maul.esel
5da13d2b66
Refactor `Site#cleanup`
...
Move the cleanup logic out into a separate class,
`Jekyll::Cleaner`.
2013-08-17 17:14:08 +02:00
Pat Hawks
32e55e7717
Use proper Ruby syntax for constant
2013-08-16 21:01:09 -07:00
Pat Hawks
2744b66fac
Expose Jekyll version to templates
...
Make available `site.version` to liquid
2013-08-16 20:30:26 -07:00
maul.esel
955f913f04
simplify Site#initialize
2013-07-22 16:02:50 +02:00
Parker Moore
e1ecae250c
Site#site_files_each ~> Site#each_site_file
2013-07-12 10:52:00 +02:00
Parker Moore
979d5c13c4
Merge pull request #1144 from jpiasetz/cleanup
...
Refactor Jekyll::Site
2013-07-12 01:48:34 -07:00
John Piasetzki
13fd798ec0
Extracted each method
2013-07-09 20:50:22 -04:00
John Piasetzki
b5d4a96149
Refactored site.rb, I tried to clean a bunch of the methods code climate was complaining about
2013-07-05 16:12:10 -04:00
Matt Rogers
2484833bc8
Merge pull request #1118 from maul-esel/dir-bug-take2
...
[bugfix #417 ] delete old files that have been replaced by a directory
2013-07-01 07:52:29 -07:00
Parker Moore
1f59e9c757
Use Jekyll.logger instead of Jekyll::Stevenson to log things.
2013-05-29 11:58:35 +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
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
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
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
Matt Rogers
f67f7f3db4
Move the building of related posts into their own class
2013-05-07 22:27:38 -05:00
Parker Moore
67aaada839
Clean up some copy in the limit_posts error handling.
2013-05-04 14:57:27 +02: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
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
uu59
ad2c706a34
Fix `jekyll serve --limit_posts n` failed
2013-04-28 02:03:08 +09:00
Brian Kim
028e580bb8
Remove short-circuits from Site
2013-04-13 12:39:49 -04:00
Parker Moore
04fd68a232
Move Jekyll::DEFAULTS to Jekyll::Configuration::DEFAULTS
2013-04-12 21:19:20 +02:00
Parker Moore
0f2c9d29ee
Merge pull request #875 from mojombo/posts-cant-be-dirs
...
Directories with valid post names should be filtered out
2013-04-07 12:54:42 -07:00
Lucas Jenss
2c7325223f
Fix symlinked assets not being included, even in unsafe mode
2013-03-31 20:49:43 +02:00
Parker Moore
6f6ad001d2
Ignore entries if they are directories.
2013-03-19 21:59:06 +01:00
Parker Moore
4400e89898
Expect a 'baseurl' to be passed in to Site
2013-03-17 21:18:45 +01:00
Parker Moore
d5ed4fc5d0
Add baseurl to Site attr_accessor list.
2013-03-17 20:42:11 +01:00
Parker Moore
eef13d7d43
Expose site.baseurl to Liquid templates.
2013-03-17 17:26:33 +01:00
Tommy Sullivan
caa6a4ebfd
Sort instantiated subclasses in Site.
2013-03-16 15:24:34 +01:00
Matt Rogers
10ee5c8999
Remove the duplication when creating Converters and Generators
...
Encapsulate it in a method and give the method the class to walk the
subclass tree for to create new objects.
2013-03-16 15:20:11 +01:00
Matt Rogers
6399ec9b2b
Remove duplication when aggregating post information
2013-03-05 19:11:07 -06:00
Matt Rogers
2dd98816d4
Remove duplication when generating list of entries to process
...
Posts and Drafts share the same logic to get the list of files to
process into objects when generating the site. Factor this logic into
its own method and use it when reading posts and reading drafts.
2013-03-05 19:06:20 -06:00
Tom Preston-Werner
2b9b613687
Normalize CLI options to match configuration expectations.
2013-03-03 18:23:02 -08:00
Tom Preston-Werner
4caf613be8
Merge branch 'drafts' of https://github.com/scribu/jekyll into scribu-drafts
2013-03-03 12:57:55 -08:00
Parker Moore
63d0eef646
Merge pull request #824 from sinamt/symlinked_folders
...
Allow symlinked folders in unsafe mode (with tests). Closes #796 , resolves #233 .
2013-02-26 16:54:52 -08:00
Matt Rogers
d58859570d
Fix up the whitespace.
...
Remove an extra blank line and fix another whitespace error pointed out
by git diff
2013-02-25 13:24:37 -06:00
Matt Rogers
5a9c20983d
Rename setup_plugins to plugins_path
2013-02-25 13:20:32 -06:00
Matt Rogers
d2c79a8841
Merge branch 'master' into issue-653
2013-02-25 13:08:23 -06:00
scribu
538c2086a5
whitespace fixes
2013-02-10 04:49:27 +02:00
scribu
3e164d6daf
don't check if draft is published or if its date is in the future
2013-02-09 23:48:38 +02:00
scribu
78831d94cd
don't mess with dir parameter
2013-02-09 23:19:35 +02:00
scribu
642349f797
implement and use Draft.valid?
2013-02-09 22:41:47 +02:00
scribu
1ac46b17c4
Don't require date in draft filenames.
2013-02-09 21:35:41 +02:00
Alexander Ekdahl
4cd7c22ee7
Now uses the more semantically correct AND operator
2013-02-04 22:17:03 +01:00
Alexander Ekdahl
7512e6bb66
Allow symlinked folders in unsafe mode
2013-02-04 17:16:01 +01:00
scribu
0ad623fb85
first pass at --drafts flag
2013-01-20 05:23:56 +02:00
Tom Bell
517e6f81d3
Remove new lines between module and class
2013-01-20 00:00:49 +00:00
Matt Rogers
f460a6cf71
Merge branch 'master' into issue-653
2013-01-16 21:52:32 -06:00
Parker Moore
e383bfe65d
Merge pull request #743 from mccxj/master
...
add glob support to include, exclude option
2013-01-12 22:16:07 -08:00
edeustace
0fa55418e9
merge lastest from mojombo/jekyll master
2013-01-11 12:23:53 +01:00
mccxj
3cf29eeee2
add Enumerable#glob_include?
2013-01-11 15:33:11 +08:00
Matt Rogers
151275d09e
Add TomDoc
2013-01-10 21:53:21 -06:00
Matt Rogers
92eb926bf8
Look for plugins under the source directory by default
2013-01-10 21:24:28 -06:00
xiaojian cai
b3e27f2c5d
fixed a syntax error
2013-01-10 19:41:11 +08:00
xiaojian cai
c627cd3519
use any? instead
2013-01-10 09:16:09 +08:00
xiaojian cai
1e892678bc
Update lib/jekyll/site.rb
2013-01-09 16:06:43 +08:00
edeustace
6eed91871f
Changes based on @mojombo's feedback
2013-01-08 23:17:06 +01:00
xiaojian cai
44822a252e
add regexp support for option 'include','exclude'
2013-01-06 21:23:31 +08:00
Tom Preston-Werner
dd0e208daa
Merge branch 'patch-1' of https://github.com/jlecour/jekyll into jlecour-patch-1
2013-01-03 22:26:09 -08:00
Tom Preston-Werner
c23302f4fa
Merge branch 'deletion_protection' of https://github.com/jasonroelofs/jekyll into jasonroelofs-deletion_protection
2012-12-26 14:02:41 -07:00
edeustace
4bae42a671
use Array.join instead of Array.inject, add .svn to defaults
2012-12-09 11:43:49 +01:00
edeustace
7c800d3b07
Added a configuration variable: keep_files (default: ['.git']), based on this pull request: https://github.com/mojombo/jekyll/pull/556
2012-08-23 12:07:30 +02:00
Tom Preston-Werner
202894c196
Merge branch 'custom-layout-directory' of https://github.com/tombell/jekyll into tombell-custom-layout-directory
...
Conflicts:
lib/jekyll/site.rb
2012-06-11 15:40:22 -07:00
Tom Preston-Werner
47090ffd2a
Fix up a few TomDocs.
2012-06-06 11:59:49 -07:00
Tom Preston-Werner
0e9e7fbc85
Simplify Site#read_layouts.
2012-06-06 11:59:49 -07:00
Tom Bell
df2ad2ac59
Allow a custom 'layouts' directory
...
* Add 'layouts' option to change the dir from '_layouts' to anything relative
to the source directory
* Add cucumber scenario for testing an alternative directory '_theme'
* Closes #563
2012-05-30 21:39:43 -04:00
Luca Grulla
7d88f72409
avoiding to call site_payload one time per each post and page. Speed site creation up of a 20%.
2012-04-29 00:27:11 -07:00
Jason Roelofs
604b60c9ba
Add checks to prevent accidental deletion of the source directory
2012-04-03 22:05:18 -05:00
Jason Roelofs
8368485fa0
Remove deletion of dot files on cleanup.
...
This is a potentially very dangerous action that's impossible to test that it's correct.
If the '..' check line ever disappears, even running the tests will start deleting
everything accessible on the person's computer.
All dot-files that are generated are already known by Jekyll as either a static file or
a page (yaml front matter), only remove those files.
2012-04-03 21:33:35 -05:00
Jérémy Lecour
41f2805b7f
No need to have a variable assignment, especially if it has the same name as the method parameter.
2012-02-11 09:05:59 +01:00
Tom Preston-Werner
4499df8033
Shorten plugin loading code and update history.
2012-01-29 12:49:57 -08:00
Tom Preston-Werner
02366ae5ff
Merge branch 'PluginsAsArray' of https://github.com/simensen/jekyll into simensen-PluginsAsArray
2012-01-29 12:32:59 -08:00
Tom Preston-Werner
9d70088f01
Properly select dotfiles during directory scan.
...
Fixes #363 .
Fixes #431 .
Fixes #377 .
2012-01-23 00:21:08 -08:00
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