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
Nick Quaranto
3bc4f590ea
Updating readme with links to the mailing list
2009-06-24 07:56:17 -04:00
Nick Quaranto
237df13778
Upgrading RedCloth to 4.2.1, which fixed <notextile> tags
2009-06-24 07:53:13 -04:00
Nick Quaranto
74b17ff777
Attempting to fix the broken readme formatting
2009-06-24 07:44:00 -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
Nick Quaranto
150ff1e5e4
Fixed small bug in test_generated_site and updating history with latest fixes
2009-06-23 08:10:42 -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
750b5f5cb8
Keeping the history up to date with Chrononaut and ujh's fixes
2009-06-22 18:11:15 -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
Thomas Jack
535d78de7d
change features and tests to make sure categories in urls follow the order specified by directory layout or in yaml
2009-06-08 19:26:03 -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
d8d7ae3f0e
Feature that should test ordering of titles on the same day
2009-06-02 20:36:11 +03:00
Urban Hafner
5bbdf2239d
Feature for the pagination templating
2009-06-02 11:11:04 +03:00
Urban Hafner
937efcf8b8
Feature for the last fix
2009-06-02 10:58:53 +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
Nick Quaranto
285f0aa327
Removing TODO. Use GitHub issues instead for this kind of stuff.
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
Tom Ward
8a11c0e92a
Ensure Regexp for today's time is escaped, as time formats can contain pluses and other Regexp unfriendly characters, causing the Scenario 'Use site.time variable' to fail.
...
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-05-09 10:47:53 -04:00
Nick Quaranto
6f90939221
Fixing readme formatting issues
2009-05-08 05:39:17 -07:00
Nick Quaranto
8a926d4f29
Bumping gemspec for 0.5.1
2009-05-06 12:41:16 -07:00
Nick Quaranto
a42690dd38
Freezing to RedCloth 4.1.0 just for the tests
2009-05-06 12:41:16 -07: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
445347e259
Updating history with latest additions
2009-05-01 08:31:52 -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
80a229aef2
Joining the license together.
2009-04-30 08:27:23 -04:00
Nick Quaranto
5a1d736242
Updating README with links to the wiki
2009-04-30 08:23:30 -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
a5d236eb53
Updating history so far from 0.5.0
2009-04-27 09:06:22 -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