darcsden :: simon -> planetdarcsnet -> blob

config for planet.darcs.nethttp://planet.darcs.net

root / index.html.tmpl

<!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&nbsp;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>