Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
docs: add example/ dir again
Browse files Browse the repository at this point in the history
  • Loading branch information
Anirudh committed Apr 25, 2018
1 parent 5c9c69e commit c67daf6
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 0 deletions.
8 changes: 8 additions & 0 deletions example/config.py
@@ -0,0 +1,8 @@
# config.py - Vite's configuration script

title = ''
author = ''
header = ''
footer = ''
template = 'index.html' # default is index.html

1 change: 1 addition & 0 deletions example/pages/test.md
@@ -0,0 +1 @@
# asdf
Empty file added example/static/.keep
Empty file.
Empty file added example/templates/.keep
Empty file.
20 changes: 20 additions & 0 deletions 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>


0 comments on commit c67daf6

Please sign in to comment.