Fixed gitea cards plugin

This commit is contained in:
2026-09-30 12:54:23 -04:00
parent 0933436347
commit 873128bdfb
3 changed files with 26 additions and 5 deletions
+4 -2
View File
@@ -2,6 +2,8 @@
logs
.DS_Store
.obsidian/plugins/gitea-cards/data.json #This contains a secret I don't
want getting out
0*/
1*/
@@ -15,8 +17,8 @@ logs
9*/
!00*/
!91*/.gitkeep
!92*/.gitkeep
!91\ Clippings/.gitkeep
!92\ Playground/.gitkeep
!97*/
!98*/
!99*/
+3 -3
View File
@@ -1,17 +1,17 @@
{
"baseUrl": "https://git.zaugg.ca/",
"baseUrl": "https://git.zaugg.ca",
"keyword": "GITEA",
"refreshIntervalSeconds": 60,
"truncationLength": 160,
"commentPreviewCount": 3,
"showCommentImages": false,
"showAttachments": false,
"defaultRepo": "",
"defaultRepo": "molly/Obsidian-Vault-2026",
"lastRepo": "",
"insertFormat": "card",
"repoAccents": {},
"inProgressLabel": "In-Progress",
"secrets": {
"gitea-cards-gitea-pat": "bed6afdea0784aa54ae63ad7c3b6c8e36dba84d6"
"gitea-cards-gitea-pat": "65296a1f5508677dff0629cf744c8c58a3bc4b8f"
}
}
@@ -0,0 +1,19 @@
<%*
let title = await tp.system.prompt("Task Title");
let num = await tp.system.prompt("Task Number");
-%>
---
Project: <% tp.file.folder(false) %>
Title: <% title %>
Task Number: <% num %>
Type: Subtask
Subtask Type:
Date Created: <% tp.date.now("DD-MM_MMM-YYYY") %>
Date Started:
Date Due:
Description:
Priority:
Status:
Done: false
---
<%* await tp.file.rename(num + " - " + title) %>