]> git.decadent.org.uk Git - memories.git/blobdiff - templates/frontpage
Merge commit 'trunk'
[memories.git] / templates / frontpage
index 9bd95766eba306d8e062f70253708713830a4f29..b833e22241ec7d393c4e4ead979fa645aae92f84 100644 (file)
@@ -1,6 +1,17 @@
 [% INCLUDE header %]
-<h1> Welcome to Memories </h1>
-
+[% PROCESS macros %]
+<table class="frontpagetable" width="100%">
+[% FOR how = ["popular", "interesting", "random"] %]
+<tr><th colspan="4">[%how | ucfirst%] photos</th></tr>
+<tr>
+[% FOR pic = request.$how %]
+    <td align="center"> [% minithumb(pic) %] <br> [%pic.title%] </td>
+[% END %]
+</tr>
+[% END %]
+</table>
+   
+   <hr>
 <p>
  Memories is a site where you can upload and share your photos.
 </p>