docs: update example site
icyphox icyph0x@protonmail.com
Sat, 17 Mar 2018 15:12:57 +0530
6 files changed,
5 insertions(+),
27 deletions(-)
M
example/make.py
→
example/make.py
@@ -1,15 +1,1 @@
-from markdown2 import markdown_path -from glob import glob -import os - -# constants -PAGES_PATH = 'pages/' -BUILD_PATH = 'build/' - -for filename in os.listdir(PAGES_PATH): - html = markdown_path(PAGES_PATH + filename) - html_file = os.path.splitext(filename)[0] + '.html' - with open(BUILD_PATH + html_file, 'w') as f: - f.write(html) - print('Rendered %s' % (html_file)) - +/home/icyphox/code/vite/make.py
D
example/pages/example_post.md
@@ -1,10 +0,0 @@
-# Welcome to Vite - -## Vite is awesome! -il est très vite! (i'm not sure if that's correct grammar) - -## It just works! -just write your content in markdown, build it, et voilà! (too much french) - -## Try it yourself -there's another `.md` file waiting to be built :)