-
-
Save dievardump/46f9665645088b901fab 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
// body.myml | |
@partial header | |
h1 this is conteeeent | |
section | |
@each articles { | |
@partial article with this // this refer to the current item in articles | |
} | |
@partial footer this // this refer to the scope | |
//header.myml | |
header this is a super header | |
// article.myml | |
article | |
@if img { | |
img[src:img] | |
} | |
h1 title | |
p[class:trout text] @html content | |
@partial footer with {links: keywords} | |
//footer.myml | |
footer | |
nav | |
ul | |
@each links { | |
li | |
a[href: this.link] label | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment