]> git.decadent.org.uk Git - memories.git/blob - templates/frontpage
Show some photos on the front page #11.
[memories.git] / templates / frontpage
1 [% INCLUDE header %]
2 [% PROCESS macros %]
3 <table class="frontpagetable" width="100%">
4 [% FOR how = ["popular", "interesting", "random"] %]
5 <tr><th colspan="4">[%how | ucfirst%] photos</th></tr>
6 <tr>
7 [% FOR pic = request.$how %]
8     <td align="center"> [% minithumb(pic) %] <br> [%pic.title%] </td>
9 [% END %]
10 </tr>
11 [% END %]
12 </table>
13    
14 <p>
15  Memories is a site where you can upload and share your photos.
16 </p>
17 <p>
18  To view other people's photos, look at the <a
19  href="[%base%]/user/list">user list</a> or the <a
20  href="[%base%]/album/list">album list</a>.
21 </p>
22 <p>
23  Alternatively, Memories supports tagging photos with names, places, or
24  other descriptive terms. Browse based on the tags on the right, or look
25  at the full <a href="[%base%]/tag/list">tag list</a>.
26 </p>
27 <hr/>
28 [% IF request.user %]
29 <p>
30 Now that you're logged in, you can start <a
31 href="[%base%]/photo/upload">uploading photos</a>. Create some albums or
32 check out what you've uploaded at <a
33 href="[%base%]/user/view/[%request.user.id%]">your home page</a>.
34 </p>
35 [% ELSE %]
36 <p>
37 To get started uploading your own photos, you'll need to <a
38 href="[%base%]/login_box">log in</a>. If you
39 don't have an account, just go to the log in page anyway, choose a
40 username and password, and click "Register". So long as nobody else has that name,
41 we'll create an account for you immediately.
42 </p>
43 [% END %]
44 [% INCLUDE footer %]