2020-04-10 00:08:51 +02:00
|
|
|
import pystache
|
|
|
|
import json
|
|
|
|
|
2020-05-26 18:27:02 +02:00
|
|
|
slides = json.load(open('slides.json'))
|
2020-04-10 00:08:51 +02:00
|
|
|
open('index.html', 'w').write(
|
|
|
|
pystache.render(
|
2020-05-26 18:27:02 +02:00
|
|
|
open('slides.mustache').read(), slides))
|
2020-04-10 00:08:51 +02:00
|
|
|
print('successfully wrote index.html')
|
2020-05-26 18:27:02 +02:00
|
|
|
open('notes.html', 'w').write(
|
|
|
|
pystache.render(
|
|
|
|
open('notes.mustache').read(), slides))
|
|
|
|
print('successfully wrote notes.html')
|