Commit Graph

3622 Commits

Author SHA1 Message Date
Parker Moore fb39b41ffb NO MORE DATA COLLECTION I CAN'T HANDLE IT 2014-04-24 13:59:25 -04:00
Parker Moore 764dc88832 script/test should probably use bundler 2014-04-24 13:59:24 -04:00
Parker Moore b74c90dc20 Extract Collections metadata from site config 2014-04-24 13:59:24 -04:00
Parker Moore 0dc680df0b Always render collections, just don't always write them 2014-04-24 13:59:24 -04:00
Parker Moore 3a6ad0737c Add a script/test file for ❤️ and :money: 2014-04-24 13:59:24 -04:00
Parker Moore 7be78de93a Don't read the collection if it's the data collection 2014-04-24 13:59:24 -04:00
Parker Moore f1a422dfff Don't pretend there is a collections setter 2014-04-24 13:59:24 -04:00
Parker Moore a27e5825b9 Nil-out `@collections` so `#collections` will re-compile 2014-04-24 13:59:24 -04:00
Parker Moore fd98d5b1e6 Fetch collection names agnostically regarding the data structure of config['collections'] 2014-04-24 13:59:24 -04:00
Parker Moore 330005d932 Reset the collections hash on #reset.
Fixes #2234.
2014-04-24 13:59:24 -04:00
Parker Moore d379e3c012 Update history to reflect merge of #2258 [ci skip] 2014-04-23 14:01:00 -04:00
Parker Moore bb079d6b39 Merge pull request #2258 from caffinatedmonkey/cucumber_cleanup 2014-04-23 14:00:26 -04:00
Martin Charles f9375d5660 Cleaned up cucumbers 2014-04-23 13:40:21 -04:00
Parker Moore 0c3285ced7 Update history to reflect merge of #2253 [ci skip] 2014-04-22 14:57:04 -04:00
Parker Moore 54d0c63956 Merge pull request #2253 from jekyll/var-substitution 2014-04-22 14:56:30 -04:00
Parker Moore 4de2be8c5f Add Jekyll::LiquidExtensions.lookup_variable
To use, just include `Jekyll::LiquidExtensions` as you please:

```ruby
class SayHi < Liquid::Tag
  include Jekyll::LiquidExtensions

  def initialize(tag_name, markup, tokens)
    @markup = markup.strip
  end

  def render(context)
    "hi #{lookup_variable(context, @markup)}"
  end
end
```

Fixes #2071.
2014-04-22 14:27:47 -04:00
Parker Moore 68d491c40d Update history to reflect merge of #2205 [ci skip] 2014-04-21 23:01:47 -04:00
Parker Moore 9db5a1a6ce Merge pull request #2205 from jekyll/maul-esel-frontmatter-defaults 2014-04-21 23:01:05 -04:00
Parker Moore 49c0f9cccc Update history to reflect merge of #2250 [ci skip] 2014-04-20 16:02:50 -04:00
Parker Moore 8389e78ff3 Merge pull request #2250 from sheehamj13/patch-1 2014-04-20 16:02:16 -04:00
Matt Sheehan 6ba375401e Update plugins.md 2014-04-20 15:01:54 -04:00
Parker Moore 3c94b4d408 Update history to reflect merge of #2247 [ci skip] 2014-04-19 14:45:04 -04:00
Parker Moore 5b5065d293 Merge pull request #2247 from mrfoto/patch-1 2014-04-19 14:44:41 -04:00
Parker Moore 4da060ca52 Update history to reflect merge of #2244 [ci skip] 2014-04-19 14:19:21 -04:00
Parker Moore 702d5520d4 Merge pull request #2244 from jekyll/xml-escape-nil 2014-04-19 14:18:56 -04:00
Miha Rekar fae267f72d rr has moved 2014-04-19 20:07:04 +02:00
Parker Moore 1e16ab4d26 end the ned 2014-04-19 12:35:58 -04:00
Ben Balter e91a90899c do the do 2014-04-18 18:12:47 -04:00
Parker Moore fa9c933773 Update history to reflect merge of #2243 [ci skip] 2014-04-18 17:47:46 -04:00
Parker Moore 810c160e4d Merge pull request #2243 from RadicalZephyr/master 2014-04-18 17:45:35 -04:00
Geoff Shannon b07835b35c Reword slightly to fix typo
Also avoid using "you" as well
2014-04-18 14:09:17 -07:00
Ben Balter 4f7b1f3306 no -> not 2014-04-18 16:56:37 -04:00
Ben Balter 6f0bebdfda convert input to string before xml escaping 2014-04-18 16:54:48 -04:00
Geoff Shannon 1c8fef69aa Remove "tag" from the link
It looks super weird
2014-04-18 13:26:39 -07:00
Geoff Shannon 0b0d3b43a1 Add a to cross-reference about post_url
I had a really hard time finding this information on the Jekyll site,
and this seemed like a reasonable place to put a pointer to the
information.
2014-04-18 13:23:43 -07:00
Matt Rogers 22f7380abe Change the feature to not use `page.name`
Use `page.description` in the cucumber feature instead. `page.name`
isn't overridable anymore.
2014-04-15 20:15:16 -05:00
Parker Moore 571fb95cc1 Only read in 5 bytes when checking for YAML header.
#2211 #2210
2014-04-15 09:48:44 -04:00
Parker Moore 29fdc0946a Use +rb switches when reading in file for checking existence of YAML header.
Fixes #2228.
2014-04-15 09:46:53 -04:00
Parker Moore 5d6a07e060 Remove stray sentence from Collections doc page. 2014-04-14 23:19:42 -04:00
Parker Moore b0cf022983 Release 2.0.0.alpha.3 2014-04-14 23:17:32 -04:00
Parker Moore 2a9c1a2cd2 Update history to reflect merge of #2199 [ci skip] 2014-04-14 23:14:26 -04:00
Parker Moore cb4a7a52da Merge pull request #2199 from jekyll/collection-plate 2014-04-14 23:14:06 -04:00
Parker Moore 5a6f1d42a9 Fix #filtered_entries so it returns a new Array if the directory doesn't exist 2014-04-14 23:03:19 -04:00
Parker Moore 696aea211a Don't gather any entries if the collection directory doesn't exist 2014-04-14 22:56:23 -04:00
Parker Moore ee29bf3939 Update docs around collections. 2014-04-14 22:46:22 -04:00
Parker Moore a1af95c34e Clean up some code per @baweaver's suggestions. 2014-04-14 22:46:22 -04:00
Parker Moore ad7efb23e6 Code/docs cleanup, props @baweaver 2014-04-14 22:46:22 -04:00
Parker Moore af61451f87 Use #error instead of #warn when telling the user not to use a custom data source 2014-04-14 22:46:22 -04:00
Parker Moore 2f99e1d5c1 Fix test for non-collectionized sites still containing data coll 2014-04-14 22:46:22 -04:00
Parker Moore 62551b5ff9 Include data in the array of collections 2014-04-14 22:46:22 -04:00