|
@@ -103,6 +103,7 @@ def main():
|
|
|
quips = []
|
|
|
for uuid in Path.list('quips'):
|
|
|
q = Quip.from_file(Path.data('quips', uuid))
|
|
|
+ q.content = markdown.markdown(q.content)
|
|
|
quips.append(q)
|
|
|
with Path.write('quips', uuid, 'index.html') as f:
|
|
|
f.write(Template.main({
|
|
@@ -129,6 +130,7 @@ def main():
|
|
|
quotes = []
|
|
|
for uuid in Path.list('quotes'):
|
|
|
q = Quote.from_file(Path.data('quotes', uuid))
|
|
|
+ q.content = markdown.markdown(q.content)
|
|
|
quotes.append(q)
|
|
|
with Path.write('quotes', uuid, 'index.html') as f:
|
|
|
contents = Template.quote({'quotelist': [q]})
|