Commit Graph

218 Commits (spacegaier-patch-3)

Author SHA1 Message Date
Paulus Schoutsen 432ee1a169 Update getting started 2016-04-16 17:10:09 -07:00
Paulus Schoutsen a4adf87fe3 Split up development pages 2016-04-16 15:06:08 -07:00
Paulus Schoutsen a06217bbee Add categories to cookbook 2016-02-07 14:21:44 -08:00
Paulus Schoutsen 02ed6b6e3a Remove unused plugins 2015-10-27 23:49:54 -07:00
Paulus Schoutsen 8f47eb20e5 More fixes 2015-10-27 00:53:57 -07:00
Paulus Schoutsen aaa837c3e7 Collection Index always generate 2015-10-26 23:24:16 -07:00
Paulus Schoutsen e391ddb7a1 Add linkable titles 2015-02-08 15:08:41 -08:00
Paulus Schoutsen 759d107680 Reorganize the getting started and component pages 2015-01-24 18:47:04 -08: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
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
Brandon Mathis 4e0fec0e0f Added a space between author and site to be sure it looked good in feed readers and places where the site CSS wasn't being loaded 2011-12-11 16:24:46 -06:00
Brandon Mathis d5a02a78f6 Added RubyPants (the ruby port of John Gruber's smarty pants) to intelligently replace primes with smart quotes in the pullquote plugin, fixes #316 2011-12-11 16:24:39 -06:00
Frederic Hemberger cb61146264 Merge pull request #295 from jbrains/master
Capitalize word after '!' and '?'.
2011-12-10 03:24:16 -08:00
Frederic Hemberger 6714e5c7f5 Set flag in preview mode and re-generate files before deployment if necessary 2011-11-29 15:13:50 +01:00
J. B. Rainsberger 343e0f1409 Improved, I think, the Titlecase plugin 2011-11-28 00:25:50 +01:00
Frederic Hemberger f1ebf35869 Introduce distinction between preview/productive site generation
Posts which contain the YAML attribute `published: false` are usually
not generated by Jekyll. With this patch they can be previewed just
like published posts on localhost using `rake watch`or `rake preview`.

NOTICE: Before pushing to the productive environment, use `rake generate`
to update the public directory and remove posts which are flagged not to be
published.
2011-11-23 14:37:30 +01:00
Frederic Hemberger 4feeecfdef Date format: Remove unnecessary escapement 2011-11-04 08:40:41 +01:00
Frederic Hemberger 142681489f Add custom date format %o for ordinal representation of the day 2011-11-04 08:11:16 +01:00
Frederic Hemberger 987dccee76 Add custom date format to pages, add 'updated' field again
Reverts changes of c2a68cc where I accidentally removed support for 'updated' field, see comments of issue #164 for details.
2011-11-03 20:32:38 +01:00
Frederic Hemberger a81ef5e28b Improve handling of meta description 2011-10-21 15:00:32 +02:00
Frederic Hemberger 2043c543d2 Add utf-8 encoding option to Pygments highlighter, fixes #232 2011-10-21 09:23:56 +02:00
Frederic Hemberger d2755dc082 Merge branch 'master' of github.com:imathis/octopress 2011-10-18 17:46:36 +02:00
Frederic Hemberger c2a68cc2a9 Make post's date output configurable via _config.yml, closes #164
A new config variable 'date_format' is introduced in _config.yml.
It can either be set to "ordinal" to use the current format or it
can be given a string complying to strftime() format identifiers.
2011-10-18 17:25:31 +02:00
mattn 92f57ad15b support proxy. 2011-10-18 17:36:45 +09:00
Frederic Hemberger d84daa2a88 Merge pull request #201 from mikl/category-feeds
Adds per-category Atom feeds.
2011-10-16 04:58:14 -07:00
Frederic Hemberger 21803814bc Adds parameter for left aligned pullquotes, fixes #215 2011-10-16 13:37:06 +02:00
Frederic Hemberger 2dedad6176 Merge branch 'master' of https://github.com/strand/octopress into strand/octopress 2011-10-16 13:19:42 +02:00
Frederic Hemberger 1772a8af8f Removes also leading tab from backtick codeblock 2011-10-16 12:02:14 +02:00
B Strand d983e3eb31 Reverted previous commit to separate that change to a different pull request. 2011-10-13 11:30:25 -07:00
B Strand f6fb11a375 Added class='citation' to blockquotes generated by the blockquote plugin to differentiate their style from the style of an html or markdown blockquote. 2011-10-12 13:25:51 -07:00
B Strand cae964e875 Updated pullquote.rb to use a vernacular similar to the image tag. 2011-10-12 11:14:07 -07:00
strand 8897083cf7 Implemented pullquoteleft functionality 2011-10-11 15:59:25 -07:00
Frederic Hemberger 9909f16d80 Codeblock: Output source even if 'pygments_prefix' or 'pygments_suffix' is nil. Fixes #182 2011-10-11 15:46:20 +02:00
Mikkel Hoegh 66916f57a7 First attempt at creating per-category Atom feeds. 2011-10-05 00:27:17 +02:00
Frederic Hemberger 6315527b2f Adds CDATA sections to atom.xml, fixes #198 2011-10-04 19:18:40 +02:00
Brandon Mathis a35c780616 Merge pull request #180 from victor/patch-1
Allow capitalization after a period.
2011-09-28 13:35:42 -07:00
Brandon Mathis 3bd4ed026e Merge branch 'master' of github.com:imathis/octopress into compass 2011-09-28 14:51:24 -05:00
Victor Jalencas f75f17b05c Allow capitalization after a period. 2011-09-28 10:08:55 +03:00
Frederic Hemberger fdf6af1d25 Fixes img tag properties 2011-09-26 15:58:14 +02:00