### ----------------------------------------------------
### -- Collection-Plugin-Development
### -- Licenses: Artistic-2.0
### -- Authors: Richard Hainsworth, aka finanalyst
### -- File: lib/plugins/html/announcements/namespace-setup.raku
### ----------------------------------------------------
use v6.d;
sub ( $pp, %options --> Array ) {
    if 'note' ~~ any( $pp.plugin-datakeys ) {
       my %ns = $pp.get-data('note');
        %ns<first-item> = [];
    }
    else {
        $pp.add-data('note', %( :first-item( [] ), ) );
    }
    []
}


