]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/aggregatepost.tmpl
update for rename of recentchanges.mdwn to json.tl.ph.mdwn
[git.ikiwiki.info.git] / templates / aggregatepost.tmpl
index 5a0f6e7805b299feee7b4077a58cad0af557e02b..0d2c2d94e3944c347a37ff8ea17b7f9957cff675 100644 (file)
@@ -1,4 +1,15 @@
 <TMPL_VAR CONTENT>
+<TMPL_IF ENCLOSUREURL>
+<TMPL_IF ENCLOSUREIMAGE>
+<img src="<TMPL_VAR ENCLOSUREURL ESCAPE=HTML>" width="50%" />
+</TMPL_IF>
+<TMPL_IF ENCLOSUREAUDIO>
+<audio controls src="<TMPL_VAR ENCLOSUREURL ESCAPE=HTML>" />
+</TMPL_IF>
+<TMPL_IF ENCLOSUREVIDEO>
+<video controls src="<TMPL_VAR ENCLOSUREURL ESCAPE=HTML>" width="50%" />
+</TMPL_IF>
+</TMPL_IF>
 <TMPL_LOOP TAGS>
 [[!tag <TMPL_VAR TAG>]]
 </TMPL_LOOP>