Commit Graph

1640 Commits

Author SHA1 Message Date
Parker Moore 00d29e7e77 Merge pull request #2994 from jekyll/fixes-from-benchmarking 2014-10-12 15:49:20 -07:00
Parker Moore b564214535 Pass the context on to IncludeRelativeTag#page_path 2014-10-12 15:16:38 -07:00
Matt Hickford 63a6d595c4 Fix feed link to respect baseurl 2014-10-12 23:14:41 +01:00
Parker Moore 626706c8c5 Cache the `@includes_dir` in each instance so the method isn't called all the time 2014-10-12 15:11:28 -07:00
Parker Moore 4942b2947b Only compile the Converter#matches regexp when asked for 2014-10-12 14:31:49 -07:00
Parker Moore fbe98df488 Cache variables that won't change through the life of an object 2014-10-12 14:06:17 -07:00
Parker Moore 44c9f81921 Cache the extname regexp in Converters::Markdown and Textile 2014-10-12 14:06:16 -07:00
Matt Hickford 3994d9116d Link atom feed from html head
This makes it possible for browsers to autodiscover the feed. Fixes https://github.com/jekyll/jekyll/issues/2995
2014-10-12 20:09:14 +01:00
XhmikosR b0c0fbd70b site_template/feed.xml: Remove unneeded space. 2014-10-08 10:37:01 +03:00
XhmikosR 28bb15d4ee site_template/_includes/head.html: Minor refactoring.
Remove unneeded end tag, and also strip newlines.
Move `X-UA-Compatible` just after `meta charset`.
2014-10-08 10:33:39 +03:00
Parker Moore f0e22be32b Merge pull request #2972 from tkrotoff/wrapper-width-hardcoded 2014-10-05 19:23:49 -07:00
Tanguy Krotoff 1ccd2156c5 Fix head.html indentation 2014-10-05 18:53:53 +02:00
Tanguy Krotoff 8e481cdf8e New Sass variable $content-width instead of hardcoded value 2014-10-05 18:49:39 +02:00
Seth Warburton 42a8dba642 Page specific descriptions 2014-09-30 22:17:49 +01:00
feivel 0701fa7b16 Update outdated comment
incorrect as of 6 Aug 2014.
2014-09-26 19:49:58 -04:00
Alfred Xing 3a96d01e4a Make permalink parsing consistent with pages
Require permalink to end in a slash to write an index file.
Addresses #2920.
2014-09-24 22:08:25 -07:00
Parker Moore bd0eebdb05 Merge pull request #2925 from pathawks/htm-extension 2014-09-24 17:08:02 -07:00
Parker Moore dc0add15af Merge pull request #2946 from kleinfreund/patch-1 2014-09-24 17:06:53 -07:00
Parker Moore e6f89074d4 Rouge's Redcarpet plugin now has a different API
See for more:
- 18ec938e9c
- https://github.com/jneen/rouge/issues/182
2014-09-22 23:03:49 -07:00
Philipp Rudloff e013c16ba9 Fix code example for media query mixin
It was using an old variable name (`$palm`) instead of the current one (`$on-paln`).
2014-09-22 08:18:14 +02:00
Pat Hawks fdf58c5ce2 Allow per post permalinks to end in `.htm`
Fixes #2920
2014-09-14 11:58:16 -07:00
Igor Kapkov 566eb6ef3b remove watch since it default in 2.4.0 2014-09-14 11:28:29 +08:00
Parker Moore e72f8cf5b1 Release 💎 2.4.0 2014-09-09 22:24:09 -07:00
Parker Moore 196a56e3ec Add push, pop, shift, and unshift Liquid filters.
Fixes #2892.
2014-09-09 21:29:23 -07:00
Parker Moore 4fb6e1cde9 Merge pull request #2884 from gjtorikian/improve-docs-for-include-relative 2014-09-09 00:21:42 -07:00
Peter deHaan 06c9b1b33c Fixing "vertycal" typo
s/vertycal/vertical

Unless, like, "vertycal" was on purpose or something.
2014-09-08 22:48:23 -07:00
Garen Torikian deb4e0d24a Set tag name as ivar
This lets us use just one syntax_example method for both classes.
2014-09-08 14:27:51 -07:00
Garen Torikian 0675f2a423 Update include_relative tests
This verifies you can’t go “up” in the include
2014-09-07 21:23:45 -07:00
Parker Moore 6644c77d23 Merge pull request #2870 from gjtorikian/support-relative-include 2014-09-07 13:05:38 -07:00
Garen Torikian a569799ffc Sanitize the resolved includes path 2014-09-07 12:18:54 -07:00
Garen Torikian 3668437c96 Rename method to `resolved_includes_dir` 2014-09-07 12:18:35 -07:00
Garen Torikian 4da07bb2c3 Add tests around nasty include attempts 2014-09-07 12:00:37 -07:00
Garen Torikian 0e4549013d Define methods for shared vars between include & include_relative 2014-09-07 11:21:40 -07:00
Chris Frederick 394eab4a3a Add the slugify Liquid filter 2014-09-07 16:48:57 +09:00
Garen Torikian 9f558d1cec Rename tag to `include_relative` 2014-09-06 21:48:15 -07:00
Garen Torikian 787bb582da Trash the subclass 2014-09-06 21:48:00 -07:00
Parker Moore 58a76911bb Merge pull request #2864 from kansaichris/add-title-to-collection-urls 2014-09-05 10:04:38 -07:00
Garen Torikian aa97f1025d Support a new `relative_include` tag 2014-09-03 15:43:51 -07:00
Chris Frederick 4adc35aaf3 Revise Utils#slugify with inspiration from Rails 2014-09-02 14:32:14 +09:00
Chris Frederick 702b39dec5 Replace the 'name' parameter with 'string' 2014-09-02 13:34:44 +09:00
Chris Frederick 3ca1245027 Move Document#sluggify to Utils#slugify 2014-09-02 13:29:28 +09:00
Shu Uesugi cfd17b2e7d Add inspect filter 2014-09-01 14:51:09 -07:00
Chris Frederick 05d65f0341 Rename 'slug' to 'sluggify' and clean up code 2014-09-01 16:25:42 +09:00
Chris Frederick a5e51cfdbe Properly handle titles with trailing punctuation 2014-09-01 13:25:38 +09:00
Chris Frederick cca9c50c26 Add 'title' to url_placeholders 2014-09-01 12:53:31 +09:00
Chris Frederick bcb6798838 Pass the filename as an argument to Document#slug 2014-09-01 12:45:41 +09:00
Michael Kühnel 9e9f4f1c53 Fix orientation bugs
Maintain fontsize and and adapt width when switching to landscape mode.
2014-08-31 15:27:51 +02:00
Parker Moore 081e34a5ab Merge pull request #2858 from jekyll/auto-enable-watch 2014-08-31 00:05:42 -07:00
Parker Moore b5dbc36975 Use Jekyll.sanitized_path when adding static files to Collections.
h/t @benbalter https://github.com/jekyll/jekyll/pull/2737#discussion_r16713423
Not sure if the previous code can be exploited, but being super safe is never a bad thing.
2014-08-30 23:09:47 -07:00
Parker Moore 6cee2a87cc Auto-enable watch on 'serve'.
Addresses @kneath's and @chibicode's comments in #2695.
2014-08-30 22:52:41 -07:00