Skip to content

Instantly share code, notes, and snippets.

@lerouxb
Created August 27, 2011 14:07
Show Gist options
  • Select an option

  • Save lerouxb/1175428 to your computer and use it in GitHub Desktop.

Select an option

Save lerouxb/1175428 to your computer and use it in GitHub Desktop.
upgrouper theme test in jinjs
<!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">
{% for grouping in groupings %}
<h2>{{grouping.name}}</h2>
<ul>
{% for image in grouping.images %}
<li><a href="{{image.url}}"><img
src="{{image.previews.size128W.url}}"
width="{{image.previews.size128W.width}}"
height="{{image.previews.size128W.height}}"
></a></li>
{% endfor %}
</ul>
{% endfor %}
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment