Last active
January 10, 2018 14:24
-
-
Save innabelaya/837a96299de6fd488223 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
block : 'page', | |
title : 'hello', | |
head : [ | |
{ elem : 'css', url : 'hello.min.css' } | |
], | |
scripts : [{ elem : 'js', url : 'hello.min.js' }], | |
mods : { theme : 'islands' }, | |
content : [ | |
{ | |
block : 'hello', | |
content : [ | |
{ | |
elem : 'greeting', | |
content : 'Hello %user%!' | |
}, | |
{ | |
block : 'input', | |
mods : {theme : 'islands', size : 'm'}, | |
name : 'name', | |
placeholder : 'User name' | |
}, | |
{ | |
block : 'button', | |
mods : {theme : 'islands', size : 'm', type : 'submit'}, | |
text : 'Click' | |
} | |
] | |
} | |
] | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment