update index once more
[deb/hackedgotchi.git] / templates / index.html.dj
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5  <head>
6   <title>{{ name }}</title>
7   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
8   <meta name="generator" content="{{ generator }}" />
9   <link rel="stylesheet" href="common/planet.css" type="text/css" />
10   <link rel="icon" type="image/x-icon" href="common/favicon.ico" />
11   <link href="rss10.xml" rel="alternate" type="application/rss+xml"  title="RSS 1.0 Feed" />
12   <link href="rss20.xml" rel="alternate" type="application/rss+xml"  title="RSS 2.0 Feed" />
13   <link href="atom.xml"  rel="alternate" type="application/atom+xml" title="Atom Feed" />
14
15   <script type="text/javascript" src="common/hide.js"></script>
16   <script type="text/javascript">
17   <!--
18          window.onload=hideHosts;
19         -->
20   </script>
21  </head>
22
23  <body>
24   <div id="header">
25    <div id="upperheader">
26     <div id="logo">
27                 <a href="./" title="Debian Home"><img src="common/Pics/openlogo-50.png" alt="Debian" width="50" height="61" /></a> 
28     </div><!-- end logo -->
29     <p class="section">planet</p>
30    </div><!-- end upperheader -->
31    <div id="navbar">
32     <p class="hidecss"><a href="#inner">Skip Quicknav</a></p>
33     <ul>
34      <li><a href="http://www.debian.org/intro/about">About Debian</a></li>
35      <li><a href="http://www.debian.org/distrib/">Getting Debian</a></li>
36      <li><a href="http://www.debian.org/support">Support</a></li>
37      <li><a href="http://www.debian.org/devel/">Developers'&nbsp;Corner</a></li>
38     </ul>
39    </div><!-- end navbar -->
40   <p id="breadcrumbs"><a href="http://planet.debian.org/">Planet Debian</a></p>
41   </div><!-- end header -->
42    <div id="content">
43
44     {% for item in Items %}
45      {% ifchanged item.new_date %}
46     <h1>{{ item.new_date }}</h1>
47      {% endifchanged %}
48
49     <div class="channel">
50      {% ifchanged item.channel_name %}
51       {% if item.channel_face %}
52      <a href="{{ item.channel_link }}">
53       <img class="face" src="heads/{{ item.channel_face }}"
54             width="{{ item.channel_facewidth }}" height="{{ item.channel_faceheight }}"
55             alt="hackergotchi for {{ item.channel_author|safe }}" />
56      </a>
57       {% endif %}
58      <h2 class="planet-title">
59       <a href="{{ item.channel_link }}" title="{{ item.channel_title }}">{{ item.channel_name|safe }}</a>
60        <script type="text/javascript">
61           <!--
62                  document.write( "<a href=\"#\" id=\"{{ item.link }}_hide\" onClick=\"exclude( '{{ item.link }}' ); hideHosts(); return false;\"><img src=\"common/minus-8.png\" style=\"border: none;\" title=\"Hide Author\" alt=\"Hide Author\" height=\"8\" width=\"8\"><\/a> <a href=\"#\" id=\"{{ item.link }}_show\"  style=\"display:none;\" onClick=\"show( '{{ item.link }}' );  return false;\"><img src=\"common/plus-8.png\" style=\"border: none;\" title=\"Show Author\" alt=\"Show Author\" height=\"8\" width=\"8\"><\/a>" );
63           -->
64        </script>
65       </h2>
66      {% endifchanged %}
67      <div id="{{ item.link }}" class="{{ item.link }}">
68       <div class="entry">
69        <h3 class="entry-title">
70         <a href="{{ item.link}}">{{ item.title }}</a>
71        </h3>
72        <div class="content">
73         {{ item.content|safe }}
74        </div>
75        <p class="date">
76         <a href="{{ item.link }}">{{ item.date }}</a>
77         {% if item.author %}
78          by {{ item.author|safe }}
79         {% endif %}
80        </p>
81       </div>
82      </div>
83     </div>
84     {% endfor %}
85    </div>
86    <div id="sidebar">
87     {% if Config.search %}
88      <h1>{{ Config.searchtext }}</h1>
89      <form method="GET" action="/cgi-bin/search.cgi">
90       <input type="text" name="terms" value="">
91      </form>
92     <hr />
93     {% endif %}
94     <p>
95      {{ Config.syndicationtext }}
96     </p>
97     <p>
98      <a href="rss10.xml"><img class="button" src="common/rss10.png" width="80" height="15" alt="[RSS 1.0 Feed]"></a>
99      <a href="rss20.xml"><img class="button" src="common/rss20.png" width="80" height="15" alt="[RSS 2.0 Feed]"></a>
100      <a href="atom.xml"><img class="button" src="common/atom.png" width="80" height="15" alt="[Atom Feed]"></a>
101      <a href="foafroll.xml"><img class="button" src="common/foaf.png" width="80" height="15" alt="[FOAF Subscriptions]"></a>
102      <a href="opml.xml"><img class="button" src="common/opml.png" width="80" height="15" alt="[OPML Subscriptions]"></a>
103      <a href="http://www.catb.org/hacker-emblem/"><img class="button" src="common/hacker.png" width="80" height="15" alt="[Hacker]"></a>
104      <a href="http://www.intertwingly.net/code/venus/"><img class="button" src="common/planet.png" width="80" height="15" alt="[Planet]"></a>
105     </p>
106    <p>
107     {{ Config.lastupdatetext }} {{ date|date:"d M Y H:i" }}<br>{{ Config.utctext }}<br>
108     {{ Config.contacttext }} <a href="mailto:{{ owner_email }}">{{ owner_name }}</a>
109    </p>
110    <h2>{{ Config.otherplanettext }}</h2>
111    <ul>
112     {% include "planets.html" %}
113    </ul>
114    <div id="unhide-all" style="display:none;">
115     <h2>{{ Config.hiddenfeedstext }}</h2>
116     <p>{{ Config.hiddenfeedstext2 }} <a href="#" onClick="excludeNone(); return false">{{ Config.showalltext }}</a></p>
117    </div>
118    <h2>{{ Config.subscriptionstext }}</h2>
119    <ul>
120     {% for channel in Channels %}
121     <li><a href="{{ channel.link }}" title="{{ channel.title }}">{{ channel.name|safe }}</a> <a href="{{ channel.url }}">({{ Config.feedtext }})</a></li>
122     {% endfor %}
123    </ul>
124   </div>
125  </body>
126 </html>
127