diff options
Diffstat (limited to 'template/src/script.js.rb')
| -rw-r--r-- | template/src/script.js.rb | 6 |
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 |
