Add series links
This commit is contained in:
parent
d170a2fccf
commit
4793d660e2
6 changed files with 54 additions and 10 deletions
|
@ -112,7 +112,7 @@ class PostDB {
|
|||
mkdir $by-slug unless $by-slug.e;
|
||||
# Render all the posts and make symlinks
|
||||
for %!posts.kv -> $id, $post {
|
||||
my $html = $config.generate-post: $post, $!meta;
|
||||
my $html = $config.generate-post: $id, $post, self;
|
||||
my $id-path = $by-id.add: "$id.html";
|
||||
$id-path.spurt: $html;
|
||||
for $post.all-slugs -> $slug {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue