all repos — py-vite @ fbf21e922af8c1b34ee6b7acdff8de0c2c87f5a4

the original vite, written in python

docs: update example
icyphox icyph0x@protonmail.com
Sun, 18 Mar 2018 00:12:07 +0530
commit

fbf21e922af8c1b34ee6b7acdff8de0c2c87f5a4

parent

3a72865981d5f886bc37435a3237ee3e31a49517

A example/build/test_page1/index.html

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

+<!DOCTYPE html> +<html> +<header> + some header + <title> + test site + </title> +</header> + +<body> + <h1>hey i'm a test page</h1> + +<p>here's some text</p> + +<p><em>here's some more</em></p> + +<p><strong>bold text</strong></p> + +</body> + +<footer> + copyright icy + <p> © icy </p> +<footer>
A example/config.py

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

+# config.py - Vite's configuration script + +title = 'test site' +author = 'icy' +header = 'some header' +footer = 'copyright icy' +
D example/pages/test.md

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

-## test
A example/pages/test_page1.md

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

+# hey i'm a test page + +here's some text + +_here's some more_ + +**bold text**
A example/templates/index.html

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

+<!DOCTYPE html> +<html> +<header> + {{ header }} + <title> + {{ title }} + </title> +</header> + +<body> + {{ body }} +</body> + +<footer> + {{ footer }} + <p> © {{ author }} </p> +<footer>
D example/templates/template.html

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

-<body> - {{ body }} -</body>