motyl

Opinionated blog-aware static site generator written in Ruby
Log | Files | Refs | README | LICENSE

commit 04e6744df5f2489e5bcac3a8ef37c47b77db09d0
parent 21a90e922de019ef6b606448411f70f9ba836a21
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon,  3 Oct 2016 23:32:53 +0200

Convert configuration and metadata files to YAML

Diffstat:
Mexamples/motyl.conf | 49+++++++++++++++++++------------------------------
Dexamples/pages/about.json | 5-----
Aexamples/pages/about.yaml | 3+++
Dexamples/posts/hello-world.json | 8--------
Aexamples/posts/hello-world.yaml | 7+++++++
5 files changed, 29 insertions(+), 43 deletions(-)

diff --git a/examples/motyl.conf b/examples/motyl.conf @@ -1,30 +1,19 @@ -{ - "lang": "en", - "title": "Opinionated static site generator", - "name": "Motyl", - "description": "Motyl, an opinionated static site generator written in Lua.", - "keywords": "static, site, generator, ssg, motyl, lua", - "author": "Frederic Cambus", - "copyright": "2016", - - "url": "http://www.cambus.net/motyl/", - - "pages": [ - { - "title": "About", - "url": "/about/" - }, { - "title": "&middot; Archives", - "url": "/" - }, { - "title": "&middot; RSS", - "url": "/atom.xml" - } - ], - - "categoryMap": { - "Lua": "lua", - "News": "news", - "Miscellaneous": "miscellaneous" - } -} +lang: en +title: Opinionated static site generator +name: Motyl +description: Motyl, an opinionated static site generator written in Lua. +keywords: static, site, generator, ssg, motyl, lua +author: Frederic Cambus +copyright: '2016' +url: http://www.cambus.net/motyl/ +pages: +- title: About + url: /about/ +- title: '&middot; Archives' + url: / +- title: '&middot; RSS' + url: /atom.xml +categoryMap: + Lua: lua + News: news + Miscellaneous: miscellaneous diff --git a/examples/pages/about.json b/examples/pages/about.json @@ -1,5 +0,0 @@ -{ - "title": "About", - "description": "", - "keywords": "" -} diff --git a/examples/pages/about.yaml b/examples/pages/about.yaml @@ -0,0 +1,3 @@ +title: About +description: '' +keywords: '' diff --git a/examples/posts/hello-world.json b/examples/posts/hello-world.json @@ -1,7 +0,0 @@ -{ - "title": "Hello World!", - "date": "2016-06-28 18:17", - "description": "This is a sample post for Motyl.", - "keywords": "motyl, lua", - "categories": [ "News", "Lua" ] -}- \ No newline at end of file diff --git a/examples/posts/hello-world.yaml b/examples/posts/hello-world.yaml @@ -0,0 +1,7 @@ +title: Hello World! +date: 2016-06-28 18:17 +description: This is a sample post for Motyl. +keywords: motyl, lua +categories: +- News +- Lua