diff --git a/blogalba b/blogalba
index 25cfb3a..13ea09e 100755
--- a/blogalba
+++ b/blogalba
@@ -160,13 +160,13 @@ sub do_cache {
my @nav;
push @nav, {navname => $_->{title}, navurl => "$blog->{url}$_->{filename}",} for @pages;
push @nav, {navname => $_, navurl => $blog->{links}->{$_},} for sort { $b cmp $a } keys $blog->{links};
+ generate_feed;
%defparams = (
INDEX => 0, NAV => [@nav], url => $blog->{url}, recent => [@posts[0 .. ($#posts > ($blog->{config}->{rss_posts}-1)? ($blog->{config}->{rss_posts}-1) : $#posts)]],
- gentime => timefmt($lastcache, '%H:%M %e/%-m/%y %Z'), host => $HOST,
+ gentime => timefmt($lastcache, '%H:%M %e/%-m/%y %Z'), genworktime => (time - $lastcache), host => $HOST,
about => $blog->{about}, author => $blog->{author}, name => $blog->{name}, tagline => $blog->{tagline}, keywords => $blog->{keywords},
robots => $blog->{config}->{indexable}? '' : '',
);
- generate_feed;
pagination_calc;
}
diff --git a/layout/foot.inc b/layout/foot.inc
index ab36e2d..ad54945 100644
--- a/layout/foot.inc
+++ b/layout/foot.inc
@@ -8,7 +8,7 @@