Sha256: 6adcd674a5ea249623116f8cdddc9d94c79e9fcc76f57aaffe47b607a49a3269
Contents?: true
Size: 503 Bytes
Versions: 2
Compression:
Stored size: 503 Bytes
Contents
<?xml version="1.0"?> <root xmlns:x="http://www.navel.gr/xml/shader.xsd" xmlns:xl="http://www.w3.org/1999/xlink"> <?r oid = request["oid"] article = $db.get(oid, N::Article) ?> <x:page> <?r if article ?> <h4>#{article.title}</h4> <i>#{N::TimeUtils.date_time(article.create_time)}</i> <p> #{article.body} </p> <?r end ?> <h3>Comments</h3> <!-- include at run time (dynamic include) --> <?r request[:comments_parent] = article ?> <x:include xl:href="comments.si" /> </x:page> </root>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.1.2 | examples/simple/root/view-article.sx |
nitro-0.2.0 | examples/simple/root/view-article.sx |