Skip to content

Instantly share code, notes, and snippets.

@lerouxb
Created August 27, 2011 14:04
Show Gist options
  • Save lerouxb/1175422 to your computer and use it in GitHub Desktop.
Save lerouxb/1175422 to your computer and use it in GitHub Desktop.
upgrouper theme test in jqtpl
<!doctype html>
<html>
<head>
<title>${account.twitter_screen_name} | upgrouper</title>
<link rel="stylesheet" type="text/css" href="${cssurl}">
<script src="${jsurl}"></script>
</head>
<body>
<h1>@${account.twitter_screen_name}</h1>
<div class="groupings">
{{each(i, grouping) groupings}}
<h2>${grouping.name}</h2>
<ul>
{{each(i, image) images}}
<li><a href="${image.url}"><img
src="${image.previews.size128W.url}"
width="${image.previews.size128W.width}"
height="${image.previews.size128W.height}"
></a></li>
{{/each}}
</ul>
{{/each}}
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment