Skip to content

Instantly share code, notes, and snippets.

@jonschlinkert
Created March 20, 2014 02:09
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 jonschlinkert/9655883 to your computer and use it in GitHub Desktop.
Save jonschlinkert/9655883 to your computer and use it in GitHub Desktop.
<!-- this is a layout -->
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
{{> body }}
{{> styles }}
</body>
</html>
{{#extend "styles"}}
{{#content "footer" mode="append"}}
<!-- .teaser styles -->
<style type="text/css" media="screen">
.teaser iframe {
margin: -7px 0 0 25px;
vertical-align: text-top;
}
.teaser iframe + iframe {
margin-left: -20px;
}
</style>
{{/content}}
{{/extend}}
<!-- this is a partial -->
{{#block "footer"}}
{{! extend with "blocks" }}
{{/block}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment