all repos — py-vite @ cb0e65767c97a231f2c8e3e242489c02ea54eb2b

the original vite, written in python

Fix broken front-matter template

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Sun, 23 Jun 2019 09:32:57 +0530
commit

cb0e65767c97a231f2c8e3e242489c02ea54eb2b

parent

c9c45968c6804b062866efb7058dac2ca5e2b16c

1 files changed, 4 insertions(+), 3 deletions(-)

jump to
M vite/vite.pyvite/vite.py

@@ -68,9 +68,10 @@ else:

with open(os.path.join(PAGES_PATH, head, tail), 'w') as f: to_write = ( """--- -template -title:" -date: {t}" +template: +title: +subtitle: +date: {t} ---\n""" ).format(t=today) f.write(to_write)