gray-matter
Version:
A simple to use YAML, JSON or Coffee Front-Matter parsing and extraction library, with options to set custom delimiters.
73 lines • 3.77 kB
JSON
{
"context": {
"analytics": {
"alexa": "lpTeh1awA400OE",
"google": {
"domain": "assemble.github.io",
"id": "UA-XXXXXXXX-YY",
"siteid": false,
"tags": "FOO-012345"
}
},
"assets": "<%= site.dest %>/assets",
"author": "<%= pkg.author.name %>",
"brand": "ASSEMBLE",
"components": "<%= site.styles %>/components",
"data": "data",
"date": "<%= new Date() %>",
"description": "<%= pkg.description %>",
"dest": "<%= site.root %>",
"disqus": {
"enabled": false,
"shortname": "<%= pkg.name %>"
},
"download": {
"latest": "<%= pkg.homepage %>/master/dist/<%= pkg.name %>-<%= pkg.version %>.min.js",
"source": "<%= pkg.homepage %>/archive/master.zip"
},
"helpers": "<%= site.templates %>/helpers",
"includes": "<%= site.templates %>/includes",
"layout": "default",
"layoutext": ".hbs",
"layouts": "<%= site.templates %>/layouts",
"lead": "The most awe inspiring static site boilerplate in Northern Kentucky.",
"name": "<%= pkg.name %>",
"pages": "<%= site.templates %>",
"plugins": null,
"root": "_gh_pages",
"sharing": {
"facebook": false,
"google": false,
"gplus": false,
"hn": false,
"twitter": false
},
"social": {
"facebook": false,
"google": false,
"gplus": false,
"hn": false,
"linkedin": false,
"twitter": {
"related": "jonschlinkert:Assemble core team.",
"username": "jonschlinkert",
"via": "jonschlinkert"
}
},
"styles": "styles",
"templates": "templates",
"title": "BOILERPLATE",
"url": {
"about": "<%= site.url.domain %>/about/",
"blog": "<%= site.url.domain %>/blog/",
"domain": "http://assemble.io/",
"ghpages": "https://<%= site.username %>.github.io/<%= pkg.name %>/",
"homepage": "<%= pkg.homepage %>",
"issues": "<%= pkg.bugs.url %>?state=open",
"repo": "<%= pkg.homepage %>"
},
"version": "<%= pkg.version %>"
},
"content": "",
"original": "---\nanalytics:\n alexa: lpTeh1awA400OE\n google:\n domain: assemble.github.io\n id: UA-XXXXXXXX-YY\n siteid: false\n tags: FOO-012345\nassets: \"<%= site.dest %>/assets\"\nauthor: \"<%= pkg.author.name %>\"\nbrand: ASSEMBLE\ncomponents: \"<%= site.styles %>/components\"\ndata: data\ndate: \"<%= new Date() %>\"\ndescription: \"<%= pkg.description %>\"\ndest: \"<%= site.root %>\"\ndisqus:\n enabled: false\n shortname: \"<%= pkg.name %>\"\ndownload:\n latest: \"<%= pkg.homepage %>/master/dist/<%= pkg.name %>-<%= pkg.version %>.min.js\"\n source: \"<%= pkg.homepage %>/archive/master.zip\"\nhelpers: \"<%= site.templates %>/helpers\"\nincludes: \"<%= site.templates %>/includes\"\nlayout: default\nlayoutext: .hbs\nlayouts: \"<%= site.templates %>/layouts\"\nlead: \"The most awe inspiring static site boilerplate in Northern Kentucky.\"\nname: \"<%= pkg.name %>\"\npages: \"<%= site.templates %>\"\nplugins: ~\nroot: _gh_pages\nsharing:\n facebook: false\n google: false\n gplus: false\n hn: false\n twitter: false\nsocial:\n facebook: false\n google: false\n gplus: false\n hn: false\n linkedin: false\n twitter:\n related: \"jonschlinkert:Assemble core team.\"\n username: jonschlinkert\n via: jonschlinkert\nstyles: styles\ntemplates: templates\ntitle: BOILERPLATE\nurl:\n about: \"<%= site.url.domain %>/about/\"\n blog: \"<%= site.url.domain %>/blog/\"\n domain: \"http://assemble.io/\"\n ghpages: \"https://<%= site.username %>.github.io/<%= pkg.name %>/\"\n homepage: \"<%= pkg.homepage %>\"\n issues: \"<%= pkg.bugs.url %>?state=open\"\n repo: \"<%= pkg.homepage %>\"\nversion: \"<%= pkg.version %>\"\n---"
}