Skip to content

Instantly share code, notes, and snippets.

@possibilities
Created May 22, 2012 23:33
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 possibilities/2772348 to your computer and use it in GitHub Desktop.
Save possibilities/2772348 to your computer and use it in GitHub Desktop.
// Blue theme
<template name="blueTheme">
{{> blueWidget}}
{{> anotherBlueWidget}}
</template>
<template name="blueWidget">
<span class="blue"></span>
</template>
<template name="anotherBlueWidget">
<div class="blue"></div>
</template>
// Green theme
<template name="greenTheme">
{{> greenWidget}}
{{> anotherGreenWidget}}
</template>
<template name="greenWidget">
<span class="green"></span>
</template>
<template name="anotherGreenWidget">
<div class="green"></div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment