more style

This commit is contained in:
j 2010-12-30 18:22:17 +05:30
parent 316e8f787e
commit b44809d91b
2 changed files with 5 additions and 2 deletions

View File

@ -109,7 +109,7 @@
</div> </div>
<div id="authorBio"> <div id="authorBio">
<a name="bio"></a> <a name="bio"></a>
<h3>About {{ text.author }}</h3> <h3>{{ text.author }}</h3>
{{ text.author_bio }} {{ text.author_bio }}
</div> </div>
</div> </div>

View File

@ -10,12 +10,15 @@
h1 { h1 {
margin-bottom: 8px; margin-bottom: 8px;
} }
.text {
margin-bottom: 8px;
}
</style> </style>
</head> </head>
<body> <body>
<h1>Padma essays</h1> <h1>Padma essays</h1>
{% for t in texts %} {% for t in texts %}
<div> <div class="text">
<a href="{{t.get_absolute_url}}" title="{{t.title}}">{{ t.title }}</a><br /> <a href="{{t.get_absolute_url}}" title="{{t.title}}">{{ t.title }}</a><br />
by {{ t.author }} by {{ t.author }}
{{ t.abstract|safe }} {{ t.abstract|safe }}