iDie/makeslides.py
The Dod fddfd417c3 Generate index.html from slides.mustache
See README for details
2020-04-10 01:08:51 +03:00

9 lines
201 B
Python

import pystache
import json
open('index.html', 'w').write(
pystache.render(
open('slides.mustache').read(),
json.load(open('slides.json'))))
print('successfully wrote index.html')