From e3313b0608b480d0236cae332753b3e46a79b9d7 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Wed, 12 Feb 2025 03:53:37 -0500 Subject: [PATCH] generate the description tag too lol --- lib/Config.rakumod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Config.rakumod b/lib/Config.rakumod index 9938f15..e988aa4 100644 --- a/lib/Config.rakumod +++ b/lib/Config.rakumod @@ -19,6 +19,8 @@ method generate-post(Int:D $id, Post:D $post, $db) { meta :property, :content($post.title); meta :property, :content(post-link-abs $db.meta, $id, $post); meta :property, :content($db.meta.title); + optl $post.description ~~ Str:D, + -> {meta :property, :content(^ $post.description)}; meta :property, :content
; meta :property, :content($post.posted-at); $post.tags.map(-> $tag {