docs: add example dir again
Anirudh icyph0x@pm.me
Sun, 15 Apr 2018 19:26:32 +0530
7 files changed,
30 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> + +