motyl

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

commit 27f00725494da979c1cd6aa9c5699ae8bbf70dc2
parent c6bf94d4888c7bda4f50336065840e9f4a54b746
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 16 May 2017 23:06:36 +0200

Update examples

Diffstat:
Mexamples/motyl.conf | 4++--
Aexamples/pages/archives.md | 7+++++++
Aexamples/pages/archives.yaml | 3+++
3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/examples/motyl.conf b/examples/motyl.conf @@ -5,13 +5,13 @@ description: Motyl, an opinionated static site generator written in Lua. keywords: static, site, generator, ssg, motyl, lua author: Frederic Cambus copyright: '2016-2017' -url: https://www.cambus.net/motyl/ +url: https://github.com/fcambus/motyl feedItems: 20 pages: - title: About url: /about/ - title: '&middot; Archives' - url: / + url: /archives/ - title: '&middot; RSS' url: /atom.xml categoryMap: diff --git a/examples/pages/archives.md b/examples/pages/archives.md @@ -0,0 +1,7 @@ +{{#site.posts}} +<h3><a href="/{{{url}}}">{{{title}}}</a></h3> +<time>{{date}}</time> +{{#categoryDisplay}} + &middot; <a href="/categories/{{{url}}}">{{category}}</a> +{{/categoryDisplay}} +{{/site.posts}} diff --git a/examples/pages/archives.yaml b/examples/pages/archives.yaml @@ -0,0 +1,3 @@ +title: 'Archives' +description: '' +keywords: ''