{"action":"opened","number":2010,"pull_request":{"url":"https://api.github.com/repos/18F/doi-extractives-data/pulls/2010","id":86033936,"html_url":"https://github.com/18F/doi-extractives-data/pull/2010","diff_url":"https://github.com/18F/doi-extractives-data/pull/2010.diff","patch_url":"https://github.com/18F/doi-extractives-data/pull/2010.patch","issue_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/2010","number":2010,"state":"open","locked":false,"title":"Allow glossary links and other valid liquid in frontmatter","user":{"login":"gemfarmer","id":4803473,"avatar_url":"https://avatars.githubusercontent.com/u/4803473?v=3","gravatar_id":"","url":"https://api.github.com/users/gemfarmer","html_url":"https://github.com/gemfarmer","followers_url":"https://api.github.com/users/gemfarmer/followers","following_url":"https://api.github.com/users/gemfarmer/following{/other_user}","gists_url":"https://api.github.com/users/gemfarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/gemfarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemfarmer/subscriptions","organizations_url":"https://api.github.com/users/gemfarmer/orgs","repos_url":"https://api.github.com/users/gemfarmer/repos","events_url":"https://api.github.com/users/gemfarmer/events{/privacy}","received_events_url":"https://api.github.com/users/gemfarmer/received_events","type":"User","site_admin":false},"body":"Fixes issue(s) #1966 \r\n\r\n[:sunglasses: PREVIEW](https://federalist.18f.gov/preview/18F/doi-extractives-data/liquid-in-frontmatter/explore/WY/#state-production)\r\n\r\nI'm pretty excited about this one! Basically, this PR allows us to use any valid liquid, including custom filters that we have made inside jekyll front matter. \r\n\r\nTo make sure that the frontmatter is being read as liquid and not as markdown or as a plain value, we can do the following [(like I did here for the Wyoming state_land attribute)](https://github.com/18F/doi-extractives-data/compare/liquid-in-frontmatter?expand=1#diff-6ec0cd03783b6e398866fa7e25cdef33R116):\r\n\r\n```\r\n{{ page.state_land | liquify | markdownify }}\r\n```\r\n\r\nNOTE: make sure to `liquify` and _then_ `markdownify`. If it is done in reverse order, markdownify will void the values within the `{{}}` as invalid markdown!\r\n\r\n![screen shot 2016-09-20 at 1 44 10 pm](https://cloud.githubusercontent.com/assets/4803473/18684027/57f429e0-7f38-11e6-91d0-6e86feb6e18b.png)\r\n\r\n\r\n/cc @coreycaitlin @shawnbot @meiqimichelle \r\n\r\n","created_at":"2016-09-20T18:47:52Z","updated_at":"2016-09-20T18:47:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"coreycaitlin","id":1450354,"avatar_url":"https://avatars.githubusercontent.com/u/1450354?v=3","gravatar_id":"","url":"https://api.github.com/users/coreycaitlin","html_url":"https://github.com/coreycaitlin","followers_url":"https://api.github.com/users/coreycaitlin/followers","following_url":"https://api.github.com/users/coreycaitlin/following{/other_user}","gists_url":"https://api.github.com/users/coreycaitlin/gists{/gist_id}","starred_url":"https://api.github.com/users/coreycaitlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreycaitlin/subscriptions","organizations_url":"https://api.github.com/users/coreycaitlin/orgs","repos_url":"https://api.github.com/users/coreycaitlin/repos","events_url":"https://api.github.com/users/coreycaitlin/events{/privacy}","received_events_url":"https://api.github.com/users/coreycaitlin/received_events","type":"User","site_admin":false},"assignees":[{"login":"coreycaitlin","id":1450354,"avatar_url":"https://avatars.githubusercontent.com/u/1450354?v=3","gravatar_id":"","url":"https://api.github.com/users/coreycaitlin","html_url":"https://github.com/coreycaitlin","followers_url":"https://api.github.com/users/coreycaitlin/followers","following_url":"https://api.github.com/users/coreycaitlin/following{/other_user}","gists_url":"https://api.github.com/users/coreycaitlin/gists{/gist_id}","starred_url":"https://api.github.com/users/coreycaitlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreycaitlin/subscriptions","organizations_url":"https://api.github.com/users/coreycaitlin/orgs","repos_url":"https://api.github.com/users/coreycaitlin/repos","events_url":"https://api.github.com/users/coreycaitlin/events{/privacy}","received_events_url":"https://api.github.com/users/coreycaitlin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/18F/doi-extractives-data/milestones/50","html_url":"https://github.com/18F/doi-extractives-data/milestones/Sprint-BonusBronco","labels_url":"https://api.github.com/repos/18F/doi-extractives-data/milestones/50/labels","id":2016814,"number":50,"title":"Sprint-BonusBronco","description":"","creator":{"login":"meiqimichelle","id":4827522,"avatar_url":"https://avatars.githubusercontent.com/u/4827522?v=3","gravatar_id":"","url":"https://api.github.com/users/meiqimichelle","html_url":"https://github.com/meiqimichelle","followers_url":"https://api.github.com/users/meiqimichelle/followers","following_url":"https://api.github.com/users/meiqimichelle/following{/other_user}","gists_url":"https://api.github.com/users/meiqimichelle/gists{/gist_id}","starred_url":"https://api.github.com/users/meiqimichelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meiqimichelle/subscriptions","organizations_url":"https://api.github.com/users/meiqimichelle/orgs","repos_url":"https://api.github.com/users/meiqimichelle/repos","events_url":"https://api.github.com/users/meiqimichelle/events{/privacy}","received_events_url":"https://api.github.com/users/meiqimichelle/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2016-09-20T15:49:11Z","updated_at":"2016-09-20T18:47:52Z","due_on":"2016-10-07T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls/2010/commits","review_comments_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls/2010/comments","review_comment_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/2010/comments","statuses_url":"https://api.github.com/repos/18F/doi-extractives-data/statuses/78ddb0ab0730a53c086042a67c26742b3b388eb5","head":{"label":"18F:liquid-in-frontmatter","ref":"liquid-in-frontmatter","sha":"78ddb0ab0730a53c086042a67c26742b3b388eb5","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":21627244,"name":"doi-extractives-data","full_name":"18F/doi-extractives-data","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/doi-extractives-data","description":"Information on the extractive industries in the U.S. from federal data.","fork":false,"url":"https://api.github.com/repos/18F/doi-extractives-data","forks_url":"https://api.github.com/repos/18F/doi-extractives-data/forks","keys_url":"https://api.github.com/repos/18F/doi-extractives-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/doi-extractives-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/doi-extractives-data/teams","hooks_url":"https://api.github.com/repos/18F/doi-extractives-data/hooks","issue_events_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/events{/number}","events_url":"https://api.github.com/repos/18F/doi-extractives-data/events","assignees_url":"https://api.github.com/repos/18F/doi-extractives-data/assignees{/user}","branches_url":"https://api.github.com/repos/18F/doi-extractives-data/branches{/branch}","tags_url":"https://api.github.com/repos/18F/doi-extractives-data/tags","blobs_url":"https://api.github.com/repos/18F/doi-extractives-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/doi-extractives-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/doi-extractives-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/doi-extractives-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/doi-extractives-data/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/doi-extractives-data/languages","stargazers_url":"https://api.github.com/repos/18F/doi-extractives-data/stargazers","contributors_url":"https://api.github.com/repos/18F/doi-extractives-data/contributors","subscribers_url":"https://api.github.com/repos/18F/doi-extractives-data/subscribers","subscription_url":"https://api.github.com/repos/18F/doi-extractives-data/subscription","commits_url":"https://api.github.com/repos/18F/doi-extractives-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/doi-extractives-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/doi-extractives-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/doi-extractives-data/contents/{+path}","compare_url":"https://api.github.com/repos/18F/doi-extractives-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/doi-extractives-data/merges","archive_url":"https://api.github.com/repos/18F/doi-extractives-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/doi-extractives-data/downloads","issues_url":"https://api.github.com/repos/18F/doi-extractives-data/issues{/number}","pulls_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/doi-extractives-data/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/doi-extractives-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/doi-extractives-data/labels{/name}","releases_url":"https://api.github.com/repos/18F/doi-extractives-data/releases{/id}","deployments_url":"https://api.github.com/repos/18F/doi-extractives-data/deployments","created_at":"2014-07-08T19:44:18Z","updated_at":"2016-09-20T14:31:10Z","pushed_at":"2016-09-20T18:47:52Z","git_url":"git://github.com/18F/doi-extractives-data.git","ssh_url":"git@github.com:18F/doi-extractives-data.git","clone_url":"https://github.com/18F/doi-extractives-data.git","svn_url":"https://github.com/18F/doi-extractives-data","homepage":"https://useiti.doi.gov/","size":316551,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":97,"forks":17,"open_issues":97,"watchers":19,"default_branch":"dev"}},"base":{"label":"18F:dev","ref":"dev","sha":"cd7c179ad817c2509c8c647bcfcdadf1b682d339","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":21627244,"name":"doi-extractives-data","full_name":"18F/doi-extractives-data","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/doi-extractives-data","description":"Information on the extractive industries in the U.S. from federal data.","fork":false,"url":"https://api.github.com/repos/18F/doi-extractives-data","forks_url":"https://api.github.com/repos/18F/doi-extractives-data/forks","keys_url":"https://api.github.com/repos/18F/doi-extractives-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/doi-extractives-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/doi-extractives-data/teams","hooks_url":"https://api.github.com/repos/18F/doi-extractives-data/hooks","issue_events_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/events{/number}","events_url":"https://api.github.com/repos/18F/doi-extractives-data/events","assignees_url":"https://api.github.com/repos/18F/doi-extractives-data/assignees{/user}","branches_url":"https://api.github.com/repos/18F/doi-extractives-data/branches{/branch}","tags_url":"https://api.github.com/repos/18F/doi-extractives-data/tags","blobs_url":"https://api.github.com/repos/18F/doi-extractives-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/doi-extractives-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/doi-extractives-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/doi-extractives-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/doi-extractives-data/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/doi-extractives-data/languages","stargazers_url":"https://api.github.com/repos/18F/doi-extractives-data/stargazers","contributors_url":"https://api.github.com/repos/18F/doi-extractives-data/contributors","subscribers_url":"https://api.github.com/repos/18F/doi-extractives-data/subscribers","subscription_url":"https://api.github.com/repos/18F/doi-extractives-data/subscription","commits_url":"https://api.github.com/repos/18F/doi-extractives-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/doi-extractives-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/doi-extractives-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/doi-extractives-data/contents/{+path}","compare_url":"https://api.github.com/repos/18F/doi-extractives-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/doi-extractives-data/merges","archive_url":"https://api.github.com/repos/18F/doi-extractives-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/doi-extractives-data/downloads","issues_url":"https://api.github.com/repos/18F/doi-extractives-data/issues{/number}","pulls_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/doi-extractives-data/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/doi-extractives-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/doi-extractives-data/labels{/name}","releases_url":"https://api.github.com/repos/18F/doi-extractives-data/releases{/id}","deployments_url":"https://api.github.com/repos/18F/doi-extractives-data/deployments","created_at":"2014-07-08T19:44:18Z","updated_at":"2016-09-20T14:31:10Z","pushed_at":"2016-09-20T18:47:52Z","git_url":"git://github.com/18F/doi-extractives-data.git","ssh_url":"git@github.com:18F/doi-extractives-data.git","clone_url":"https://github.com/18F/doi-extractives-data.git","svn_url":"https://github.com/18F/doi-extractives-data","homepage":"https://useiti.doi.gov/","size":316551,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":97,"forks":17,"open_issues":97,"watchers":19,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/doi-extractives-data/pulls/2010"},"html":{"href":"https://github.com/18F/doi-extractives-data/pull/2010"},"issue":{"href":"https://api.github.com/repos/18F/doi-extractives-data/issues/2010"},"comments":{"href":"https://api.github.com/repos/18F/doi-extractives-data/issues/2010/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/doi-extractives-data/pulls/2010/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/doi-extractives-data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/doi-extractives-data/pulls/2010/commits"},"statuses":{"href":"https://api.github.com/repos/18F/doi-extractives-data/statuses/78ddb0ab0730a53c086042a67c26742b3b388eb5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":8,"changed_files":3}}
{"actor":{"display_login":"gemfarmer"}}