Files

12 lines
409 B
Markdown

---
title: <% tp.file.title %>
tags: []
yearly: "[[<% tp.file.title.slice(0, 4) %>]]"
previous: "[[<% moment(tp.file.title, 'YYYY-MM').subtract(1,'months').format('YYYY-MM') %>]]"
---
# <% tp.file.title %>
<%*
// ensure yearly note
// app.vault.create("periodic/yearly/" + tp.file.title.slice(0, 4) + ".md", "")
await tp.user.ensure_exists(tp, "yearly", tp.file.title.slice(0, 4), false, "periodic/yearly")
%>