vault backup: 2024-12-02 22:38:07

This commit is contained in:
2024-12-02 22:38:07 +01:00
parent 5d009e1d88
commit 261ba78a53
11 changed files with 89 additions and 164 deletions

View File

@@ -1,29 +1,18 @@
<%*
let title = tp.file.title;
let book_name = "";
let author = "";
if (title.startsWith("Untitled")) {
book_name = await tp.system.prompt("Book Name");
author = await tp.system.prompt("Author");
await tp.file.rename(title);
}
title = book_name + " by " + author
tp.file.move("5 Media/0 Books/" + title)
tR += "---"
%>
title: <%* tR += title %>
created_date: <% tp.file.creation_date('YYYY-MM-DD') %>
updated_date: <% tp.file.creation_date('YYYY-MM-DD') %>
---
title: The 7 Habits of Highly Effective People by Stephen Covey
created_date: 2024-11-28
updated_date: 2024-11-28
aliases:
tags:
- book
- self-help
type: book
book_name: <% book_name %>
author: <% author %>
status: not_started
book_name: The 7 Habits of Highly Effective People
author: Stephen Covey
status: finished
---
# <%* tR += title %>
- **🏷Tags** : #<% tp.file.creation_date('MM-YYYY') %> #book
# The 7 Habits of Highly Effective People by Stephen Covey
- **🏷Tags** : #11-2024 #book
---
## Summary