X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=1f12d9076750b6432b4691a6d9901e2dfc972980;hb=7034cd9a2616e1c377d4db35371a8056bd29e120;hp=d6dd64306bc0678fbdc12588cdc224dc037c47d1;hpb=8fbb593a0292420f02c5efad30347e7076abe581;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index d6dd643..1f12d90 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -2,6 +2,7 @@ + 0 Sone @@ -21,6 +22,7 @@ <%foreach currentSone.posts post> <% post.id|xml> + <%ifnull !post.recipient><% post.recipient.id|xml><%/if> <% post.text|xml> @@ -50,4 +52,10 @@ <%/foreach> + + <%foreach currentSone.albums album> + <%include insert/include/album.xml> + <%/foreach> + +