use database directory instead of database file

This commit is contained in:
Nathan McCarty 2025-02-02 17:57:27 -05:00
parent fc04245162
commit 3b0e34e66e
7 changed files with 80 additions and 51 deletions

View file

@ -3,8 +3,13 @@ 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
unit class BlogMeta is json(:pretty);
#| The title of the blog
has Str:D $.title is required is rw;
has Str:D $.title is required;
#| The tagline of the blog
has Str:D $.tagline is required;
has Str:D $.tagline is required is rw;
#| The id of the placeholder post
has Int:D $.placeholder-id is rw = 0;