Commit Graph

166 Commits (5af48a60e97d500a8f2677000e4f1021c52ac389)

Author SHA1 Message Date
Thomas Quinot 6c97f116a5 Initial blog setup
Brandon Mathis 3a2a5d9bf9 Added poster="" to list of things expand urls should work on.
Brandon Mathis 1708b99a06 refactor videos regex to be less insane
Philippe Lovis c72c3cd2a4 Fix relative URLs for video tag
Fixes issue . 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.
Nathan Broadbent 326e3cda59 Should use << for string concatenation in Ruby
Nathan Broadbent da2b5e7506 Fix verbose code with a one liner
Brandon Mathis 6bd719fd96 Fixed issue with RubyPants and the Octopress hooks filter
ChaYoung You 3d0e85730d
Use `octopress-hooks` and `octopress-date-format`
Not applied in 73e540409c.

Fix .
Brandon Mathis 73e540409c Support octopress-hooks and octopress-date-format
Parker Moore 18784a4cb0 Revert "remove deprecated gems 'jekyll-page-hooks' and 'jekyll-date-format'"
This reverts commit 181d620c1c.
Rashmi Yadav 181d620c1c remove deprecated gems 'jekyll-page-hooks' and 'jekyll-date-format'
Brandon Mathis 9d0c54e3e6 Removed date plugin, added excerpt separator default
Brandon Mathis a0229b2c9c Replaced date plugin with jekyll-date-format
Brandon Mathis 2f47c00b48 Added jekyll-sitemap, jekyll-date-format, and updated gems
Brandon Mathis 52f9119645 Initial update to be compatible with Jekyll 2
Hu Hao 24fdbbbcfa fix script_url_for url bug
Hu Hao dca0c7500f Update gist tag url to githubusercontent.com
Patrick Aikens a66e031166 gist_plugin: Handle multiple redirects, stopping if we find a circular reference
Brandon Mathis 0ead88e6c2 Fixed the expand_url filter. Finally.
Thanks @larryprice
Brandon Mathis 1321423383 Removed accidental call to expand_url
Brandon Mathis 028769b73f Ignore protocol relative '//' urls.
Parker Moore 64ba603225 Merge pull request from IQAndreas/cleanup-date
Call overridden version of `to_liquid` and remove duplicate code in `Octopress::Date`
Andreas Renberg (IQAndreas) 408cade21f Rename 'data' to 'date_attributes'
Prevents ambiguity, since there is already a `date` property defined in
the instance.
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;
rcmdnk 7f26224bb8 Allow no last space for gist number only in gist tag
Closes 
Alex Vernacchia 2f12296619 removing border from iframe in jsFiddle plugin
AR 628e0e4d9a fix minor mis-spelling
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.
Brandon Mathis 4fd754a762 Removed space to fix HAML compatibility on include_code.
Alexandre Perrin 9225798c0b Merge branch 'master' of https://github.com/imathis/octopress
Parker Moore f43163b9b7 Error handling FTW
Parker Moore e692d8ea1a Clean up Gist redirection.
Alexandre Perrin 8bfd5ef323 Merge branch 'master' of https://github.com/imathis/octopress
AR cbf4b6570f fix old style gist url not found issue
Brandon Mathis 64bb9a346b Merge pull request from joelclermont/patch-1
Enable inline PHP syntax highlighting
Marcus Young 3cac6b9a16 The gist hashes have changed. They include letters now
Michael Buffington a2ee7a0af1 Revised the regex for JsFiddle plugin after further testing.
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.
Alexandre Perrin fe28c0b518 Fix codeblock rendering with HAML when there is a filetype defined.
Brandon Mathis afca876bd4 Accepting all non-whitespace characters as language names for Pygments code highlighting
Brandon Mathis 3ab22cb820 Allowing dashes in code names. Closes
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.
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
Brandon Mathis 2bec7f858a added config_tag plugin for integration of configuration into templates
Parker Moore 392e32bef0 Merge pull request from sjml/patch-1
Generate can fail if Pygments can't parse a code block
Parker Moore e2596c02cb Merge pull request from vyper/master
Added stringex and changed to use #to_url for create directory.
Parker Moore de8e79f348 Using data.code.to_i like a true Rubyist in plugins/gist_code.rb. Heh.
Parker Moore 51905b6a90 Merge pull request from roman-yepishev/gist_error
Raise RuntimeError when gist is unavailable - 
Leonardo Saraiva 2fe9da91f5 Merge branch 'master' of github.com:imathis/octopress
Conflicts:
	plugins/category_generator.rb
Shane Liesegang 35e23f59ca Update plugins/pygments_code.rb
Giving a more helpful error message instead of silently failing.