album/templates/groups.tpl
Rasmus Kaj d4bfe0756f Use scss to prepare css.
The css file is built to a file with (short) checksum in the
file name, to be nicely cacheable.  The actual file name is
compiled into the binary and sent to the templates as a variable.
2016-04-22 23:56:13 +02:00

22 lines
442 B
Smarty

<!doctype html>
<html>
<head>
<title>{{title}}</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
{{{csslink}}}
</head>
<body>
{{> head}}
<h1>{{title}}</h1>
<div class="group">
{{#groups}}
<div class="item"><h2>{{title}}</h2>
<p><a href="{{url}}"><img src="/img/{{photo.id}}/s"></a></p>
<p>{{count}} pictures</p>
</div>
{{/groups}}
</div>
</body>
</html>