use v6.e.PREVIEW; use HTML::Functional; use DB::BlogMeta; unit class Config; method generate-post(Str:D $title, Str:D $content, BlogMeta:D $meta) { my $head = head [ meta :charset; meta :name, :content; # meta :name, :content; title ""; ]; my $body; # my $footer; die "Not done yet"; my $html = html :lang, [ $head, $body ]; "$html" }