|
|
- Content-type: text/html
-
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "DTD/xhtml1-strict.dtd">
-
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>p1k3::${title}</title>
-
- <meta name="keywords" content="brennen, bearnes, journal, poetry,
- wiki, perl, linux, debian, free software, beer, colorado,
- boulder, nebraska, kansas, midwest, lincoln, salina, laurel, UNL,
- ultimate frisbee, cornfed, education, public domain, photography,
- history, anarchism"
- />
-
- <meta name="description" content="Writing by ${author}." />
-
- <meta name="author" content="${author}" />
-
- <link rel="alternate" type="application/atom+xml" title="p1k3 atom feed" href="${feed_url}" />
- <link rel="feed" type="application/atom+xml" title="p1k3 atom feed" href="${feed_url}" />
-
- <link rel="stylesheet" href="${stylesheet_url}" />
- <link rel="icon" type="image/x-png" href="${favicon_url}" />
- </head>
-
- <body>
-
- <p>
- <perl>
- # linkbar
- my $title = $DISPLAY_CONF{title};
- my $output;
-
- my (%description) =
- (
- new => 'newest entries',
- all => 'all entries',
- chapbook => 'unrequired poetry',
- hack => 'code and such',
- 2000 => 'entries for 2000',
- 2001 => 'entries for 2001',
- 2002 => 'entries for 2001',
- 2003 => 'entries for 2003',
- 2004 => 'entries for 2004',
- 2005 => 'entries for 2005',
- 2006 => 'entries for 2006',
- 2007 => 'entries for 2007'
- );
-
- my (@linklist) = qw(new all 2007 2006 2005 chapbook hack );
-
- foreach my $link (@linklist) {
- if ($title ne $link) {
- if ($link eq 'new') {
- $output .= "<a href=\"$DISPLAY_CONF{URL_ROOT}\" title=\"$description{new}\">new</a> \n";
- } else {
- $output .= "<a href=\"$DISPLAY_CONF{URL_ROOT}${link}\" title=\"$description{$link}\">$link</a> \n";
- }
- } else {
- if ($link eq "new") {
- $output .= "<strong><span title=\"$description{new}\">new</span></strong> \n";
- } else {
- $output .= "<strong><span title=\"$description{$link}\">$link</span></strong> \n";
- }
- }
- }
-
- return $output;
- </perl>
- </p>
-
- <perl>
- if ($DISPLAY_CONF{title} eq 'new') {
- return "<div id=\"entries\">\n\n";
- }
-
- return '';
- </perl>
-
- <h1>${title}</h1>
-
|