people separately
This commit is contained in:
parent
b62164327b
commit
7ee746c508
|
@ -51,3 +51,7 @@ body {
|
||||||
.fileWrapper {
|
.fileWrapper {
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.personName {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -13,7 +13,10 @@ def do():
|
||||||
d['bios'] = []
|
d['bios'] = []
|
||||||
for p in d['people']:
|
for p in d['people']:
|
||||||
if people.has_key(p):
|
if people.has_key(p):
|
||||||
d['bios'].append(people[p])
|
d['bios'].append({
|
||||||
|
'name': p,
|
||||||
|
'bio': people[p]
|
||||||
|
})
|
||||||
else:
|
else:
|
||||||
print "Error: %d, %s" % (d['serial'], p,)
|
print "Error: %d, %s" % (d['serial'], p,)
|
||||||
|
|
||||||
|
|
893
print/out.html
893
print/out.html
File diff suppressed because it is too large
Load Diff
|
@ -6,7 +6,10 @@
|
||||||
<body>
|
<body>
|
||||||
{% for f in files %}
|
{% for f in files %}
|
||||||
<div class="fileWrapper">
|
<div class="fileWrapper">
|
||||||
<h3 class="title"><span class="counter">{{ f.serial }}. </span>{{ f.title }} <span class="people">{% for person in f.bios %} {{ person }} {% endfor %}</span></h3>
|
<h3 class="title"><span class="counter">{{ f.serial }}. </span>{{ f.title }}</h3>
|
||||||
|
{% for person in f.bios %}
|
||||||
|
<div class="people"><span class="personName">{{ person.name }}</span>: {{ person.bio }}</div>
|
||||||
|
{% endfor %}
|
||||||
<div class="datetime">
|
<div class="datetime">
|
||||||
<div class="date">Date: {{ f.dateStr }}</div>
|
<div class="date">Date: {{ f.dateStr }}</div>
|
||||||
<div class="time">Time: {{ f.time }}</div>
|
<div class="time">Time: {{ f.time }}</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user