Add ID of Sone.
[Sone.git] / src / main / resources / templates / insert / sone.xml
index b6668d6..6818445 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <sone>
 
+       <id><% currentSone.id></id>
        <name><% currentSone.name|html></name>
 
        <profile>
@@ -10,7 +11,7 @@
        </profile>
 
        <posts>
-               <%foreach posts post>
+               <%foreach currentSone.posts post>
                        <post>
                                <time><% post.time></time>
                                <text><% post.text|html></text>