summaryrefslogtreecommitdiffhomepage
path: root/template/src/script.js.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-04-22 07:17:49 -0400
committerrealtradam <[email protected]>2022-04-22 07:17:49 -0400
commit99099c284982863480ffc6d4aa741d29dc2ea92a (patch)
tree66a2f4c543617f647d970db6fce07622feafd393 /template/src/script.js.rb
parent6150ed8ba86e960a2833b4000c2f9474a2292129 (diff)
downloadJusticar-99099c284982863480ffc6d4aa741d29dc2ea92a.tar.gz
Justicar-99099c284982863480ffc6d4aa741d29dc2ea92a.zip
version 1.0v1.0.0
Diffstat (limited to 'template/src/script.js.rb')
-rw-r--r--template/src/script.js.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/template/src/script.js.rb b/template/src/script.js.rb
index 0be5ef5..f624958 100644
--- a/template/src/script.js.rb
+++ b/template/src/script.js.rb
@@ -9,5 +9,11 @@ $document.ready do
"Hello World from Opal!"
end
p.opal {"This part was generated by Opal from Javascript (:"}
+ h2.articles do
+ "Here is some articles that were generated using the processing system:"
+ end
+ p.articles do
+ a(href: '/articles').articles { "Articles" }
+ end
end.append_to($document.body)
end