docs: add `example/` dir again
Anirudh icyph0x@pm.me
Wed, 25 Apr 2018 16:57:32 +0530
5 files changed,
29 insertions(+),
0 deletions(-)
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/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> + +