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