all repos — py-vite @ bb05dee2d069b654dced0af1e9bd816a7e5d5904

the original vite, written in python

docs: add example dir again
Anirudh icyph0x@pm.me
Sun, 15 Apr 2018 19:26:32 +0530
commit

bb05dee2d069b654dced0af1e9bd816a7e5d5904

parent

97ccef7c20d4c8ddc3899cdaf00667fab16cdf5c

A example/config.py

@@ -0,0 +1,8 @@

+# config.py - Vite's configuration script + +title = '' +author = '' +header = '' +footer = '' +template = 'index.html' # default is index.html +
A example/make.py

@@ -0,0 +1,1 @@

+/home/icyphox/code/vite/make.py
A example/pages/test.md

@@ -0,0 +1,1 @@

+# asdf
A example/templates/index.html

@@ -0,0 +1,20 @@

+ +<!DOCTYPE html> +<html> +<header> + {{ header }} + <title> + {{ title }} + </title> +</header> + +<body> + {{ body }} +</body> + +<footer> + {{ footer }} + <p> © {{ author }} </p> +<footer> + +