Last active
June 25, 2016 05:17
-
-
Save sjkingo/d83a24184794db303d1e70998d7bd232 to your computer and use it in GitHub Desktop.
fantail example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>{{ title }}</title> | |
<meta name="generator" content="fantail-{{ version }}"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> | |
<h1>{{ title }}</h1> | |
{{ content }} | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tree fantail-site/ | |
fantail-site/ | |
├── pages | |
│ └── index.txt | |
└── templates | |
└── base.html | |
2 directories, 2 files | |
$ fantail build | |
INFO: staticsite: Finished. Output directory: /home/fantail/fantail-site/output | |
└── index.html | |
0 directories, 1 file | |
$ cat fantail-site/output/index.html | |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Index</title> | |
<meta name="generator" content="fantail-0.1.0"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> | |
<h1>Index</h1> | |
<p><strong>Testing markdown</strong></p> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title: Index | |
**Testing markdown** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment