config for planet.darcs.net — http://planet.darcs.net
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
### Fancy Planet HTML template.
###
### When combined with the stylesheet and images in the output/ directory
### of the Planet source, this gives you a much prettier result than the
### default examples template and demonstrates how to use the config file
### to support things like faces
###
### For documentation on the more boring template elements, see
### examples/config.ini and examples/index.html.tmpl in the Planet source.
<head>
<title><TMPL_VAR name></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="<TMPL_VAR generator ESCAPE="HTML">">
<link rel="stylesheet" href="planet.css" type="text/css">
<TMPL_IF feedtype>
<link rel="alternate" href="<TMPL_VAR feed ESCAPE="HTML">" title="<TMPL_VAR channel_title_plain ESCAPE="HTML">" type="application/<TMPL_VAR feedtype>+xml">
</TMPL_IF>
</head>
<body>
<h1>planet</h1>
<div class="sidebar">
<a href="http://darcs.net"><img src="images/logo.png" alt="" border="0"></a>
<p>
<a href="atom.xml"><img class="button" src="images/atom.png" width="80" height="15" alt="[Atom Feed]"></a>
<!-- <a href="http://validator.w3.org/feed/check.cgi?url=<TMPL_VAR link>/atom.xml">(validate)</a><br> -->
<!-- <a href="rss20.xml"><img class="button" src="images/rss20.png" width="80" height="15" alt="[RSS 2.0 Feed]"></a> -->
<!-- <a href="http://validator.w3.org/feed/check.cgi?url=<TMPL_VAR link ESCAPE="HTML">/rss20.xml">(validate)</a> -->
<br>
<!--
<a href="rss10.xml"><img class="button" src="images/rss10.png" width="80" height="15" alt="[RSS 1.0 Feed]"></a>
<a href="http://validator.w3.org/feed/check.cgi?url=<TMPL_VAR link ESCAPE="HTML">/rss10.xml">(validate)</a><br>
-->
</p>
<p>
<strong>Blogs:</strong>
<ul>
<TMPL_LOOP Channels>
<li>
<a href="<TMPL_VAR link ESCAPE="HTML">" title="<TMPL_VAR title ESCAPE="HTML">"><TMPL_VAR name></a>
(<a href="<TMPL_VAR url ESCAPE="HTML">">feed</a>,
<a href="http://feedvalidator.org/check.cgi?url=<TMPL_VAR url ESCAPE="URL">">validate</a>)
</li>
</TMPL_LOOP>
</ul>
</p>
<p>
<strong>See also:</strong>
<ul>
<li><a href="http://darcs.net">darcs.net</a></li>
</ul>
<p>
<strong>Contact:</strong> <a href="mailto:simon@joyful.com">Simon Michael</a>
<br>
<br>
Add feeds or make this better - please <a href="http://joyful.com/darcsden/simon/planetdarcsnet">send patches</a>.
<br>
<br>
Powered by:
<a href="http://intertwingly.net/code/venus/"><img src="images/venus.png" width="80" height="15" alt="Venus" border="0"></a>
<br>
<br>
Last updated:<br>
<TMPL_VAR date> UTC<br>
</p>
</div>
<div class="description">
<TMPL_VAR description>
</div>
<TMPL_LOOP Items>
<TMPL_IF new_date>
<h2><TMPL_VAR new_date></h2>
</TMPL_IF>
<TMPL_IF new_channel>
### Planet provides template variables for *all* configuration options for
### the channel (and defaults), even if it doesn't know about them. We
### exploit this here to add hackergotchi faces to our channels. Planet
### doesn't know about the "face", "facewidth" and "faceheight" configuration
### variables, but makes them available to us anyway.
<a href="<TMPL_VAR channel_link ESCAPE="HTML">" class="channeltitle">
<h3><TMPL_VAR channel_name></h3>
</a>
<TMPL_IF channel_face>
<img class="face" src="images/<TMPL_VAR channel_face ESCAPE="HTML">" width="<TMPL_VAR channel_facewidth ESCAPE="HTML">" height="<TMPL_VAR channel_faceheight ESCAPE="HTML">" alt="">
</TMPL_IF>
</TMPL_IF>
<div class="entrytitle">
<TMPL_IF title>
<a href="<TMPL_VAR link ESCAPE="HTML">">
<h4><TMPL_VAR title></h4>
</a>
</TMPL_IF>
<div class="date"><TMPL_VAR date> UTC</div>
</div>
<div class="entry">
<p>
<TMPL_VAR content>
</p>
</div>
</TMPL_LOOP>
</body>
</html>
|