]> git.decadent.org.uk Git - memories.git/blob - templates/frontpage
Add new dependencies
[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    <hr>
15 <p>
16  Memories is a site where you can upload and share your photos.
17 </p>
18 <p>
19  To view other people's photos, look at the <a
20  href="[%base%]/user/list">user list</a> or the <a
21  href="[%base%]/album/list">album list</a>.
22 </p>
23 <p>
24  Alternatively, Memories supports tagging photos with names, places, or
25  other descriptive terms. Browse based on the tags on the right, or look
26  at the full <a href="[%base%]/tag/list">tag list</a>.
27 </p>
28 <hr/>
29 [% IF request.user %]
30 <p>
31 Now that you're logged in, you can start <a
32 href="[%base%]/photo/upload">uploading photos</a>. Create some albums or
33 check out what you've uploaded at <a
34 href="[%base%]/user/view/[%request.user.id%]">your home page</a>.
35 </p>
36 [% ELSE %]
37 <p>
38 To get started uploading your own photos, you'll need to <a
39 href="[%base%]/login_box">log in</a>. If you
40 don't have an account, just go to the log in page anyway, choose a
41 username and password, and click "Register". So long as nobody else has that name,
42 we'll create an account for you immediately.
43 </p>
44 [% END %]
45 [% INCLUDE footer %]