Commit Graph

167 Commits

Author SHA1 Message Date
Jörg Thalheim f30b3300f0 new pygment hack 2015-01-19 13:16:20 +01:00
Jörg Thalheim 90d989b1d8 add systemd-on-raspbian 2015-01-19 13:16:20 +01:00
Brandon Mathis 3a2a5d9bf9 Added poster="" to list of things expand urls should work on. #1707 2015-01-11 15:15:53 -06:00
Brandon Mathis 1708b99a06 refactor videos regex to be less insane 2015-01-11 11:05:24 -06:00
Philippe Lovis c72c3cd2a4 Fix relative URLs for video tag
Fixes issue #1127. The markup regex only matched URLs beginning with 'http'.
This change adds support for relative URLs beginning with '/'. The regex is
based on the one used in image_tag.rb.
2015-01-11 11:01:04 +01:00
Nathan Broadbent 326e3cda59 Should use << for string concatenation in Ruby 2014-12-27 21:11:18 +06:00
Nathan Broadbent da2b5e7506 Fix verbose code with a one liner 2014-12-27 21:11:09 +06:00
Brandon Mathis 6bd719fd96 Fixed issue with RubyPants and the Octopress hooks filter 2014-08-29 10:46:34 -05:00
ChaYoung You 3d0e85730d
Use `octopress-hooks` and `octopress-date-format`
Not applied in 73e540409c.

Fix #1622.
2014-08-13 01:46:36 +09:00
Brandon Mathis 73e540409c Support octopress-hooks and octopress-date-format #1622 2014-08-12 10:56:45 -05:00
Parker Moore 18784a4cb0 Revert "remove deprecated gems 'jekyll-page-hooks' and 'jekyll-date-format'"
This reverts commit 181d620c1c.
2014-08-12 11:55:16 -04:00
Rashmi Yadav 181d620c1c remove deprecated gems 'jekyll-page-hooks' and 'jekyll-date-format' 2014-08-07 16:18:22 +02:00
Brandon Mathis 9d0c54e3e6 Removed date plugin, added excerpt separator default 2014-06-21 16:41:32 -05:00
Brandon Mathis a0229b2c9c Replaced date plugin with jekyll-date-format 2014-06-21 15:51:40 -05:00
Brandon Mathis 2f47c00b48 Added jekyll-sitemap, jekyll-date-format, and updated gems 2014-06-21 13:46:27 -05:00
Brandon Mathis 52f9119645 Initial update to be compatible with Jekyll 2 2014-06-21 10:34:55 -05:00
Hu Hao 24fdbbbcfa fix script_url_for url bug 2014-05-23 15:45:58 +08:00
Hu Hao dca0c7500f Update gist tag url to githubusercontent.com 2014-05-23 12:26:35 +08:00
Patrick Aikens a66e031166 gist_plugin: Handle multiple redirects, stopping if we find a circular reference 2014-03-01 10:07:35 -05:00
Brandon Mathis 0ead88e6c2 Fixed the expand_url filter. Finally.
Thanks @larryprice
2014-02-24 20:52:26 -06:00
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