---
id: <% tp.file.title %>
title: <% tp.file.title %>
tags: []
weekly: "[[<% moment(tp.file.title, 'YYYY-MM-DD').format('gggg[w]ww') %>]]"
monthly: "[[<% moment(tp.file.title, 'YYYY-MM-DD').format('YYYY-MM') %>]]"
quarterly: "[[<% moment(tp.file.title, 'YYYY-MM-DD').format('YYYY[q]Q') %>]]"
previous: "[[<% moment(tp.file.title, 'YYYY-MM-DD').subtract(1,'days').format('YYYY-MM-DD') %>]]"
---
# <% tp.file.title %>
<%*
// ensure parents
await tp.user.ensure_exists(tp, "monthly", tp.file.title.slice(0, 7), false, "periodic/monthly")
await tp.user.ensure_exists(tp, "weekly", moment(tp.file.title, 'YYYY-MM-DD').format('gggg[w]ww'), false, "periodic/weekly")
%>