Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
module.exports = {
block: 'page',
title: 'Title of the page',
favicon: '/favicon.ico',
head: [
{ elem: 'meta', attrs: { name: 'description', content: '' }},
{ elem: 'css', url: 'index.min.css' }
],
scripts: [{ elem: 'js', url: 'index.min.js' }],
content: [
{
block: 'head',
content: {
block: 'layout',
content: [
{
elem: 'left',
content: {
tag: 'form',
attrs: { action: 'http://yandex.ru/yandsearch' },
content: [
{
block: 'input',
name: 'text',
val: 'Find'
},
{
block: 'button',
mods: { type: 'submit' },
content: 'Search'
}
]
}
},
{
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