Almost-minimal filesystem based blog.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
854 B

17 years ago
  1. <p><small><em>all original content on p1k3, unless otherwise noted, is released
  2. to the public domain.</em></small></p>
  3. <perl>
  4. my $output;
  5. if ($DISPLAY_CONF{title} eq "new") {
  6. my @headers = dir_list('imgs/header', 'alpha', '\.jpg');
  7. my $header_image = $headers[rand @headers];
  8. my $LinkDump = Wala::print_page('LinkDump');
  9. return <<END_HTML;
  10. </div> <!-- end of updatecolumn div -->
  11. <div class="linkdump" id="linkdump">
  12. <p class="centerpiece"><img src="/imgs/header/$header_image" alt="" /></p>
  13. <h3 style="margin-bottom: .5em;"><a href="/wala/">wala</a>::<a href="/wala/wala.pl?LinkDump">LinkDump</a></h3>
  14. $LinkDump
  15. <p><em>For older stuff, see <a href="/wala/wala.pl?LinkDumpArchive">LinkDumpArchive</a>.</em></p>
  16. </div> <!-- end of linkdump div -->
  17. END_HTML
  18. } else {
  19. return '';
  20. }
  21. </perl>
  22. </body>
  23. </html>