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