Move BlogMeta class to own file

This commit is contained in:
Nathan McCarty 2025-01-22 19:55:18 -05:00
parent 8648ff038d
commit 849f6543c8

10
lib/DB/BlogMeta.rakumod Normal file
View file

@ -0,0 +1,10 @@
use v6.e.PREVIEW;
use JSON::Class:auth<zef:vrurg>;
# Top level metadata for the blog
unit class BlogMeta is json(:pretty); #| The title of the blog
has Str:D $.title is required;
#| The tagline of the blog
has Str:D $.tagline is required;