add breadcrumb fix
[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/doc/">Documentation</a></li>
37      <li><a href="http://www.debian.org/support">Support</a></li>
38      <li><a href="http://www.debian.org/devel/">Development</a></li>
39     </ul>
40    </div><!-- end navbar -->
41   <p id="breadcrumbs"><a href="http://planet.debian.org/">Planet Debian</a></p>
42   </div><!-- end header -->
43    <div id="content">
44
45     {% for item in Items %}
46      {% ifchanged item.new_date %}
47     <h1>{{ item.new_date }}</h1>
48      {% endifchanged %}
49
50     <div class="channel">
51      {% ifchanged item.channel_name %}
52       {% if item.channel_face %}
53      <a href="{{ item.channel_link }}">
54       <img class="face" src="heads/{{ item.channel_face }}"
55             width="{{ item.channel_facewidth }}" height="{{ item.channel_faceheight }}"
56             alt="hackergotchi for {{ item.channel_author|safe }}" />
57      </a>
58       {% endif %}
59      <h2 class="planet-title">
60       <a href="{{ item.channel_link }}" title="{{ item.channel_title }}">{{ item.channel_name|safe }}</a>
61        <script type="text/javascript">
62           <!--
63                  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>" );
64           -->
65        </script>
66       </h2>
67      {% endifchanged %}
68      <div id="{{ item.link }}" class="{{ item.link }}">
69       <div class="entry">
70        <h3 class="entry-title">
71         <a href="{{ item.link}}">{{ item.title }}</a>
72        </h3>
73        <div class="content">
74         {{ item.content|safe }}
75        </div>
76        <p class="date">
77         <a href="{{ item.link }}">{{ item.date }}</a>
78         {% if item.author %}
79          by {{ item.author|safe }}
80         {% endif %}
81        </p>
82       </div>
83      </div>
84     </div>
85     {% endfor %}
86    </div>
87    <div id="sidebar">
88     {% if Config.search %}
89      <h1>{{ Config.searchtext }}</h1>
90      <form method="GET" action="/cgi-bin/search.cgi">
91       <input type="text" name="terms" value="">
92      </form>
93     <hr />
94     {% endif %}
95     <p>
96      {{ Config.syndicationtext }}
97     </p>
98     <p>
99      <a href="rss10.xml"><img class="button" src="common/rss10.png" width="80" height="15" alt="[RSS 1.0 Feed]"></a>
100      <a href="rss20.xml"><img class="button" src="common/rss20.png" width="80" height="15" alt="[RSS 2.0 Feed]"></a>
101      <a href="atom.xml"><img class="button" src="common/atom.png" width="80" height="15" alt="[Atom Feed]"></a>
102      <a href="foafroll.xml"><img class="button" src="common/foaf.png" width="80" height="15" alt="[FOAF Subscriptions]"></a>
103      <a href="opml.xml"><img class="button" src="common/opml.png" width="80" height="15" alt="[OPML Subscriptions]"></a>
104      <a href="http://www.catb.org/hacker-emblem/"><img class="button" src="common/hacker.png" width="80" height="15" alt="[Hacker]"></a>
105      <a href="http://www.intertwingly.net/code/venus/"><img class="button" src="common/planet.png" width="80" height="15" alt="[Planet]"></a>
106     </p>
107    <p>
108     {{ Config.lastupdatetext }} {{ date|date:"d M Y H:i" }}<br>{{ Config.utctext }}<br>
109     {{ Config.contacttext }} <a href="mailto:{{ owner_email }}">{{ owner_name }}</a>
110    </p>
111    <h2>{{ Config.otherplanettext }}</h2>
112    <ul>
113     {% include "planets.html" %}
114    </ul>
115    <div id="unhide-all" style="display:none;">
116     <h2>{{ Config.hiddenfeedstext }}</h2>
117     <p>{{ Config.hiddenfeedstext2 }} <a href="#" onClick="excludeNone(); return false">{{ Config.showalltext }}</a></p>
118    </div>
119    <h2>{{ Config.subscriptionstext }}</h2>
120    <ul>
121     {% for channel in Channels %}
122     <li><a href="{{ channel.link }}" title="{{ channel.title }}">{{ channel.name|safe }}</a> <a href="{{ channel.url }}">({{ Config.feedtext }})</a></li>
123     {% endfor %}
124    </ul>
125   </div>
126  </body>
127 </html>
128