motyl

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

commit 1093497bc995016233aa876452aa3e979672be94
parent 280357da2fb352d0395ff04e404aa523a2d530df
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon,  9 Apr 2018 23:15:05 +0200

Some fixes for examples

Diffstat:
Mexamples/motyl.conf | 2+-
Mexamples/pages/archives.md | 8+++++---
Mexamples/posts/hello-world.md | 8++++----
3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/examples/motyl.conf b/examples/motyl.conf @@ -1,5 +1,5 @@ lang: en -title: Opinionated blog-aware static site generator +title: Motyl name: Motyl description: Motyl, an opinionated blog-aware static site generator written in Ruby. keywords: static, site, generator, ssg, motyl, ruby diff --git a/examples/pages/archives.md b/examples/pages/archives.md @@ -1,7 +1,9 @@ -{{#site.posts}} +{{#posts}} <h3><a href="/{{{url}}}">{{{title}}}</a></h3> <time>{{date}}</time> +<category> {{#categoryDisplay}} - &middot; <a href="/categories/{{{url}}}">{{category}}</a> +&middot; <a href="/categories/{{{url}}}">{{category}}</a> {{/categoryDisplay}} -{{/site.posts}} +</category> +{{/posts}} diff --git a/examples/posts/hello-world.md b/examples/posts/hello-world.md @@ -4,14 +4,14 @@ Motyl supports fenced code blocks. Here is an example showing a shell script: -``` bash +~~~ bash #!/bin/sh echo "Hello World!" -``` +~~~ Another example showing C code: -``` clike +~~~ c #include <stdio.h> int main() { @@ -19,5 +19,5 @@ int main() { return 0; } -``` +~~~