docs: update example
icyphox icyph0x@protonmail.com
Sun, 18 Mar 2018 00:12:07 +0530
7 files changed,
55 insertions(+),
4 deletions(-)
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' +
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>