Brandon Mathis
1321423383
Removed accidental call to expand_url
2014-02-24 15:30:20 -06:00
Brandon Mathis
028769b73f
Ignore protocol relative '//' urls.
2014-02-24 15:14:10 -06:00
Parker Moore
64ba603225
Merge pull request #1397 from IQAndreas/cleanup-date
...
Call overridden version of `to_liquid` and remove duplicate code in `Octopress::Date`
2013-11-18 09:38:47 -08:00
Andreas Renberg (IQAndreas)
408cade21f
Rename 'data' to 'date_attributes'
...
Prevents ambiguity, since there is already a `date` property defined in
the instance.
2013-11-18 05:05:00 +01:00
Parker Moore
1230e01884
Merge branch 'master' of github.com:imathis/octopress
...
* 'master' of github.com:imathis/octopress:
removing border from iframe in jsFiddle plugin
* properly escaped site title and post/page title in the RSS feeds;
* consistently convert page and post titles to titlecase if site.titlecase is true;
2013-11-17 22:47:27 -05:00
rcmdnk
7f26224bb8
Allow no last space for gist number only in gist tag
...
Closes #1394
2013-11-17 22:47:16 -05:00
Alex Vernacchia
2f12296619
removing border from iframe in jsFiddle plugin
2013-10-28 14:07:37 -04:00
AR
628e0e4d9a
fix minor mis-spelling
2013-10-24 22:59:03 +08:00
Andreas Renberg (IQAndreas)
797aeb5074
Call overridden version of to_liquid
and remove duplicate code
...
Make sure to call "overidden" method which keeps us nice and compatible
so we don't need to keep up with whatever Jekyll usually does, and make
sure to include it in our overriden method.
I have had it with these monkey-patching methods in this Monday-to-
Friday language!
Add method `liquid_date_attributes`.
Cleanup the Post and Page overrides to be more similar.
2013-10-19 05:45:03 +02:00
Brandon Mathis
4fd754a762
Removed space to fix HAML compatibility on include_code.
2013-10-12 16:08:59 -05:00
Alexandre Perrin
9225798c0b
Merge branch 'master' of https://github.com/imathis/octopress
2013-10-07 09:39:05 +02:00
Parker Moore
f43163b9b7
Error handling FTW
2013-10-05 20:57:03 -04:00
Parker Moore
e692d8ea1a
Clean up Gist redirection.
2013-10-05 20:52:12 -04:00
Alexandre Perrin
8bfd5ef323
Merge branch 'master' of https://github.com/imathis/octopress
2013-09-27 10:53:43 +02:00
AR
cbf4b6570f
fix old style gist url not found issue
2013-09-20 10:45:12 +08:00
Brandon Mathis
64bb9a346b
Merge pull request #1141 from joelclermont/patch-1
...
Enable inline PHP syntax highlighting
2013-07-09 08:16:15 -07:00
Marcus Young
3cac6b9a16
The gist hashes have changed. They include letters now
2013-06-15 12:58:52 -04:00
Michael Buffington
a2ee7a0af1
Revised the regex for JsFiddle plugin after further testing.
2013-06-11 16:00:14 -07:00
Michael Buffington
46be4c8fc4
Adjusted JsFiddle plugin to detect jsFiddle versions.
...
Prior to this change, {% jsFiddle ccWP7/5 result,js,html %} wouldn't
render the desired tab order properly since the regex pattern was
being capturing the /5 as part of the first of the tabs.
2013-06-11 15:37:15 -07:00
Alexandre Perrin
fe28c0b518
Fix codeblock rendering with HAML when there is a filetype defined.
2013-05-11 16:48:36 +03:00
Brandon Mathis
afca876bd4
Accepting all non-whitespace characters as language names for Pygments code highlighting
2013-04-09 09:23:31 -05:00
Brandon Mathis
3ab22cb820
Allowing dashes in code names. Closes #1166
2013-04-09 09:17:46 -05:00
Joel Clermont
1a1c8681a4
Enable inline PHP syntax highlighting
...
Pygments has a "startinline" option which is only relevant for the PhpLexer. It allows syntax highlighting without the opening <?php tag. I believe this option is ignored for every other lexer.
Could you either set this to true by default using the proposed change? Or could this be exposed as a setting somewhere in _config.yml? I can't think of a reason someone would not want this enabled.
2013-03-22 22:57:55 -03:00
Brandon Mathis
05db158fec
Improved: config_tag plugin is much more flexible now and can be used by other plugins directly through the config_tag method
2013-03-11 01:19:59 -05:00
Brandon Mathis
2bec7f858a
added config_tag plugin for integration of configuration into templates
2013-03-10 17:09:12 -05:00
Parker Moore
392e32bef0
Merge pull request #990 from sjml/patch-1
...
Generate can fail if Pygments can't parse a code block
2013-03-05 16:03:33 -08:00
Parker Moore
e2596c02cb
Merge pull request #629 from vyper/master
...
Added stringex and changed to use #to_url for create directory.
2013-03-05 14:58:55 -08:00
Parker Moore
de8e79f348
Using data.code.to_i like a true Rubyist in plugins/gist_code.rb. Heh. #438
2013-03-05 23:42:59 +01:00
Parker Moore
51905b6a90
Merge pull request #438 from roman-yepishev/gist_error
...
Raise RuntimeError when gist is unavailable - #437
2013-03-05 14:37:08 -08:00
Leonardo Saraiva
2fe9da91f5
Merge branch 'master' of github.com:imathis/octopress
...
Conflicts:
plugins/category_generator.rb
2013-02-24 20:51:31 -03:00
Shane Liesegang
35e23f59ca
Update plugins/pygments_code.rb
...
Giving a more helpful error message instead of silently failing.
2013-01-30 21:51:26 -05:00
sjml
9293ecc174
Update plugins/pygments_code.rb
...
Making it so the build doesn't fail if a bad lexer is passed to the code highlighting.
2013-01-30 01:53:04 -05:00
Brandon Mathis
8bf09b178d
Video tag plugin now supports mp4,ogv,webm formats, closes #931
2013-01-12 19:24:10 -06:00
Brandon Mathis
cd6926e41b
Striped whitespace from titles in blockquote plugin
2013-01-12 16:38:25 -06:00
Sean Kerr
d686105bda
Fixed blockquote plugin (author alone would not show up without title)
2013-01-12 16:38:19 -06:00
Brandon Mathis
d774630d3e
Improved error message for category_generator plugin. Addresses #116
2013-01-12 16:21:22 -06:00
richo
5b332f5c95
Whitespace
2013-01-11 23:10:08 +11:00
Brandon Mathis
ce7f6e92a2
Merge pull request #408 from dtchepak/category_link_filter
...
Extract category_link filter from category_generator.rb plugin
2012-12-29 00:05:37 -08:00
Brandon Mathis
55fa9b3d8e
Removed unnecessary regex in code block plugin
2012-12-26 17:33:48 -06:00
Brandon Mathis
c18de55875
Titles in code plugins can have slashes in them. Closes #892
2012-12-26 17:19:50 -06:00
Brandon Mathis
c9f820f3ef
Merge pull request #824 from liangsun/patch-1
...
To support url without domain name like /path/file
2012-12-19 21:56:03 -08:00
Brandon Mathis
72b4e8d562
gist tag plugin now works with the latest changes GitHub gists and does not fail if you do not specify a filename.
2012-12-18 11:38:37 -06:00
Liang Sun
0ccd0679fd
To support url without domain name like /path/file
...
You need to know if you would like to support this, each word in the title can not start with "/".
2012-11-27 10:18:12 +08:00
Ivo Wever
6029981e35
Fix for issue #622
...
The filters bundled with Octopress are not applied to files ending in
`.md`, because the match in octopress_filters.rb does not match `.md`.
2012-08-09 23:34:41 +03:00
Leonardo Saraiva
d102dcda68
Added stringex and changed to use #to_url for create directory. To don't receive error in url to accented characters.
2012-06-19 01:05:15 -03:00
Brandon Mathis
e53b26ad30
updated plugins to work with latest version of Liquid
2012-05-24 10:28:32 -05:00
Brandon Mathis
8753a6b00c
Octopress filters are now limited to html producing templating languages, Fixes #536
2012-05-21 16:06:52 -05:00
Roman Yepishev
7ebc0a0d8b
Convert to integer before comparing. data.code is String
2012-02-21 11:07:45 +02:00
Roman Yepishev
ef8392e267
Raise RuntimeError when gist is unavailable
2012-02-20 23:45:07 +02:00
David Tchepak
02dac280d0
Extract category_link filter from category_generator.rb plugin
...
Allows category_link to be used as a filter to display a link to
any category.
2012-02-02 23:06:47 +11:00