commit 9f9aeec221f9ef73ada71cd23c08475a0bbf71f5
parent 260657a5b0ce5412cd70d40a4d6b2cc9762ee0ff
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 28 Jun 2016 22:03:21 +0200
Adding example page
Diffstat:
2 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/examples/pages/about.json b/examples/pages/about.json
@@ -0,0 +1,5 @@
+{
+ "title": "About",
+ "description": "",
+ "keywords": ""
+}
diff --git a/examples/pages/about.md b/examples/pages/about.md
@@ -0,0 +1,55 @@
+## Description
+
+Motyl is an opinionated static site generator written in Lua. It uses Mustache as templating system, and all content is written in Markdown.
+
+For the record, motyl means butterfly in Polish.
+
+## Features
+
+- Small and easy to understand code (only 130 sloc)
+- Minimal dependencies (only four Lua rocks)
+- Pages and posts written in Markdown
+- Templates are logic-less and use Mustache
+- Support for categories
+- Customizable URLs (constructed from filename)
+- Atom feed generator
+
+## Requirements
+
+Motyl requires Lua 5.1+ and Make.
+
+### Lua modules
+
+Motyl requires the following Lua modules :
+
+- Lua CJSON
+- LuaFileSystem
+- Lustache
+- Markdown
+
+Installing via LuaRocks :
+
+ luarocks install lua-cjson
+ luarocks install luafilesystem
+ luarocks install lustache
+ luarocks install markdown
+
+Alternatively, those modules can be installed directly using binary packages.
+
+## License
+
+Motyl is released under the BSD 3-Clause license. See `LICENSE` file
+for details.
+
+## Author
+
+Motyl is developed by Frederic Cambus
+
+- Site : http://www.cambus.net
+- Twitter: http://twitter.com/fcambus
+
+## Resources
+
+Project Homepage : http://www.cambus.net/motyl/
+
+GitHub : https://github.com/fcambus/motyl