all repos — py-vite @ c67daf6fc2b798220c4ff96c310d0cdfe2dc83cf

the original vite, written in python

docs: add `example/` dir again
Anirudh icyph0x@pm.me
Wed, 25 Apr 2018 16:57:32 +0530
commit

c67daf6fc2b798220c4ff96c310d0cdfe2dc83cf

parent

5c9c69e36c204e115914237542ae4f95e54088a2

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/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> + +