padmatexts/padmaTexts/templates/text_list.html
2010-12-30 18:22:17 +05:30

29 lines
515 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Padma essays</title>
<link rel="stylesheet" type="text/css" href="/static/css/text.css" />
<style>
p {
margin-top: 8px;
}
h1 {
margin-bottom: 8px;
}
.text {
margin-bottom: 8px;
}
</style>
</head>
<body>
<h1>Padma essays</h1>
{% for t in texts %}
<div class="text">
<a href="{{t.get_absolute_url}}" title="{{t.title}}">{{ t.title }}</a><br />
by {{ t.author }}
{{ t.abstract|safe }}
</div>
{% endfor %}
</body>
</html>