Description generation
This commit is contained in:
parent
804b51aaa6
commit
ce364c01d8
6 changed files with 102 additions and 33 deletions
|
@ -78,9 +78,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.title, $post.render-html, $!meta;
|
||||
my $html = $config.generate-post: $post, $!meta;
|
||||
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