diff options
Diffstat (limited to 'template/src/articles/lion.pre.rb')
| -rw-r--r-- | template/src/articles/lion.pre.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/template/src/articles/lion.pre.rb b/template/src/articles/lion.pre.rb new file mode 100644 index 0000000..25871f5 --- /dev/null +++ b/template/src/articles/lion.pre.rb @@ -0,0 +1,8 @@ +Justicar::PreProcessor.articles ||= {} # ensure the has exists + +# assign the result to a hash to be generated later +Justicar::PreProcessor.articles["lion.html"] = Paggio.html! do + h2 do + "This is an article about LIONS!" + end +end |
