Symlink about page
This commit is contained in:
parent
d1eb6f1762
commit
73aefa28eb
1 changed files with 4 additions and 1 deletions
|
@ -92,8 +92,11 @@ class PostDB {
|
||||||
$out-dir.add('index.html').spurt: $config.generate-index(self);
|
$out-dir.add('index.html').spurt: $config.generate-index(self);
|
||||||
# Render the archive
|
# Render the archive
|
||||||
$out-dir.add('archive.html').spurt: $config.generate-archive(self);
|
$out-dir.add('archive.html').spurt: $config.generate-archive(self);
|
||||||
# TODO: Render the rss/atom feed
|
|
||||||
# TODO: Symlink the about article
|
# TODO: Symlink the about article
|
||||||
|
my $about-path = $out-dir.add('about.html');
|
||||||
|
$about-path.unlink if $about-path.l;
|
||||||
|
$by-id.add("{$!meta.about-id}.html").symlink: $about-path;
|
||||||
|
# TODO: Render the rss/atom feed
|
||||||
die "Not Implemented"
|
die "Not Implemented"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue