Skip to content

Instantly share code, notes, and snippets.

@tadatuta
Forked from innabelaya/bemjson.js
Created December 9, 2015 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tadatuta/4b4175f7eaa0a8113365 to your computer and use it in GitHub Desktop.
Save tadatuta/4b4175f7eaa0a8113365 to your computer and use it in GitHub Desktop.
module.exports = {
block : 'page',
title : 'Title of the page',
favicon : '/favicon.ico',
head : [
{ elem : 'meta', attrs : { name : 'description', content : '' } },
{ elem : 'meta', attrs : { name : 'viewport', content : 'width=device-width, initial-scale=1' } },
{ elem : 'css', url : 'index.min.css' }
],
scripts: [{ elem : 'js', url : 'index.min.js' }],
mods : { theme : 'islands' },
content : [
{
block: 'head',
content: {
block: 'layout',
content: [
{
elem: 'left',
content: 'left here'
},
{
elem: 'right',
content: {
block: 'logo',
content: [
{
block: 'image',
attrs: { src: 'http://varya.me/online-shop-dummy/desktop.blocks/b-logo/b-logo.png' }
},
{
elem: 'slogan',
content: 'A new way of thinking'
}
]
}
}
]
}
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment