diff options
| author | realtradam <[email protected]> | 2022-04-22 07:17:49 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-04-22 07:17:49 -0400 |
| commit | 99099c284982863480ffc6d4aa741d29dc2ea92a (patch) | |
| tree | 66a2f4c543617f647d970db6fce07622feafd393 /template/src/articles/crab.pre.rb | |
| parent | 6150ed8ba86e960a2833b4000c2f9474a2292129 (diff) | |
| download | Justicar-99099c284982863480ffc6d4aa741d29dc2ea92a.tar.gz Justicar-99099c284982863480ffc6d4aa741d29dc2ea92a.zip | |
version 1.0v1.0.0
Diffstat (limited to 'template/src/articles/crab.pre.rb')
| -rw-r--r-- | template/src/articles/crab.pre.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/template/src/articles/crab.pre.rb b/template/src/articles/crab.pre.rb new file mode 100644 index 0000000..e306ae1 --- /dev/null +++ b/template/src/articles/crab.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["crab.html"] = Paggio.html! do + h2 do + "This is an article about CRABS!" + end +end |
