add render method

This commit is contained in:
Nathan McCarty 2025-02-03 20:41:31 -05:00
parent 6d9e32bb12
commit 72607c7f25
4 changed files with 22 additions and 0 deletions

View file

@ -50,3 +50,6 @@ method all-slugs(--> Array[Str:D]) {
@slugs.push($long-title-slug);
@slugs;
}
#| Render this post to an html body
method render-html(--> Str:D) {...}