Fixed gitea cards plugin
This commit is contained in:
+4
-2
@@ -2,6 +2,8 @@
|
|||||||
logs
|
logs
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.obsidian/plugins/gitea-cards/data.json #This contains a secret I don't
|
||||||
|
want getting out
|
||||||
|
|
||||||
0*/
|
0*/
|
||||||
1*/
|
1*/
|
||||||
@@ -15,8 +17,8 @@ logs
|
|||||||
9*/
|
9*/
|
||||||
|
|
||||||
!00*/
|
!00*/
|
||||||
!91*/.gitkeep
|
!91\ Clippings/.gitkeep
|
||||||
!92*/.gitkeep
|
!92\ Playground/.gitkeep
|
||||||
!97*/
|
!97*/
|
||||||
!98*/
|
!98*/
|
||||||
!99*/
|
!99*/
|
||||||
|
|||||||
+3
-3
@@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"baseUrl": "https://git.zaugg.ca/",
|
"baseUrl": "https://git.zaugg.ca",
|
||||||
"keyword": "GITEA",
|
"keyword": "GITEA",
|
||||||
"refreshIntervalSeconds": 60,
|
"refreshIntervalSeconds": 60,
|
||||||
"truncationLength": 160,
|
"truncationLength": 160,
|
||||||
"commentPreviewCount": 3,
|
"commentPreviewCount": 3,
|
||||||
"showCommentImages": false,
|
"showCommentImages": false,
|
||||||
"showAttachments": false,
|
"showAttachments": false,
|
||||||
"defaultRepo": "",
|
"defaultRepo": "molly/Obsidian-Vault-2026",
|
||||||
"lastRepo": "",
|
"lastRepo": "",
|
||||||
"insertFormat": "card",
|
"insertFormat": "card",
|
||||||
"repoAccents": {},
|
"repoAccents": {},
|
||||||
"inProgressLabel": "In-Progress",
|
"inProgressLabel": "In-Progress",
|
||||||
"secrets": {
|
"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) %>
|
||||||
Reference in New Issue
Block a user