Permalink
Browse files

add latest page

  • Loading branch information...
1 parent b2b9dc6 commit ae96a69c93a6ca843d3f519bc4b09fed630ce63d @szabgab committed Apr 26, 2012
Showing with 525 additions and 2 deletions.
  1. +2 −0 bin/generate.pl
  2. +1 −1 html/index.html
  3. +521 −0 html/latest.html
  4. +1 −1 tt/index.tt
View
@@ -54,6 +54,8 @@
}
$last->generate('rss');
+ $last->generate($target, "html/latest.html");
+
my $next = PerlWeekly::Issue->new('next', $target);
my $t = PerlWeekly::Template->new();
$t->process('tt/archive.tt', {issues => \@issues}, 'html/archive/index.html') or die $t->error;
View
@@ -66,7 +66,7 @@
</div>
<p>
- Want a sneak peek? Check out the <a href="/archive/39.html">latest</a> issue or see <a href="/archive/">every earlier issue</a>.
+ Want a sneak peek? Check out the <a href="/latest.html">latest</a> issue or see <a href="/archive/">every earlier issue</a>.
</p>
<div id="handpicked">
Oops, something went wrong.

0 comments on commit ae96a69

Please sign in to comment.