From a43e33cd49811f8260e1bc92250ac9bd46d7c4b2 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 9 Aug 2026 18:50:25 +0200 Subject: [PATCH 1/3] Journal -> JournalEntry + sameAs BlogPosting --- .graph-validator/schema.cljs | 6 +++--- journals/2025_05_06.md | 2 +- logseq/config.edn | 2 +- pages/Journal.md | 5 ----- pages/JournalEntry.md | 5 +++++ pages/Templates.md | 6 +++--- 6 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 pages/Journal.md create mode 100644 pages/JournalEntry.md diff --git a/.graph-validator/schema.cljs b/.graph-validator/schema.cljs index 233e4f2..b01a5e1 100644 --- a/.graph-validator/schema.cljs +++ b/.graph-validator/schema.cljs @@ -40,7 +40,7 @@ (is (empty? (remove :topic props)) "All notes should have a :topic property"))) -(deftest journal-schema - (let [props (get-properties-for-type "Journal")] +(deftest journal-entry-schema + (let [props (get-properties-for-type "JournalEntry")] (is (empty? (remove :datecreated props)) - "All journals should have a :datecreated property"))) \ No newline at end of file + "All journal entries should have a :datecreated property"))) \ No newline at end of file diff --git a/journals/2025_05_06.md b/journals/2025_05_06.md index f2c75df..cc12b86 100644 --- a/journals/2025_05_06.md +++ b/journals/2025_05_06.md @@ -1,4 +1,4 @@ -type:: [[Journal]] +type:: [[JournalEntry]] author:: [[Ross Chadwick]] datecreated:: 06-05-2025 published:: true diff --git a/logseq/config.edn b/logseq/config.edn index f600569..9d3b85a 100644 --- a/logseq/config.edn +++ b/logseq/config.edn @@ -18,7 +18,7 @@ ;; When creating the new journal page, the app will use your template if there is one. ;; You only need to input your template name here. :default-templates - {:journals "Journal"} + {:journals "JournalEntry"} ;; Set a custom date format for journal page title ;; Example: diff --git a/pages/Journal.md b/pages/Journal.md deleted file mode 100644 index 2232ca9..0000000 --- a/pages/Journal.md +++ /dev/null @@ -1,5 +0,0 @@ -type:: [[Class]] -parent:: [[Class]] -description:: A journal entry -url:: {{notes-base-url Journal}} -sameas:: https://schema.org/Periodical diff --git a/pages/JournalEntry.md b/pages/JournalEntry.md new file mode 100644 index 0000000..e48ae7d --- /dev/null +++ b/pages/JournalEntry.md @@ -0,0 +1,5 @@ +type:: [[Class]] +parent:: [[Class]] +description:: A journal entry +url:: {{notes-base-url JournalEntry}} +sameas:: diff --git a/pages/Templates.md b/pages/Templates.md index 6b6032a..607eec3 100644 --- a/pages/Templates.md +++ b/pages/Templates.md @@ -1,16 +1,16 @@ exclude-from-graph-view:: true -- type:: [[Journal]] +- type:: [[JournalEntry]] author:: [[Ross Chadwick]] datecreated:: 01-01-1979 published:: true topic:: description:: Some short description of what is covered in the journal - template:: Journal + template:: JournalEntry - type:: [[Note]] author:: [[Ross Chadwick]] datecreated:: 01-01-1979 published:: false topic:: description:: Some description of the note's topic - template:: Note \ No newline at end of file + template:: Note From 300776d8c42ce092ca4a2094f1f8285d978063b8 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 9 Aug 2026 18:54:15 +0200 Subject: [PATCH 2/3] BlogPosting + SocialMediaPosting classes --- pages/BlogPosting.md | 5 +++++ pages/SocialMediaPosting.md | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 pages/BlogPosting.md create mode 100644 pages/SocialMediaPosting.md diff --git a/pages/BlogPosting.md b/pages/BlogPosting.md new file mode 100644 index 0000000..b43ee9f --- /dev/null +++ b/pages/BlogPosting.md @@ -0,0 +1,5 @@ +type:: [[Class]] +parent:: [[SocialMediaPosting]] +description:: A blog post. +url:: https://schema.org/BlogPosting +exclude-from-graph-view:: true diff --git a/pages/SocialMediaPosting.md b/pages/SocialMediaPosting.md new file mode 100644 index 0000000..eefd60f --- /dev/null +++ b/pages/SocialMediaPosting.md @@ -0,0 +1,5 @@ +type:: [[Class]] +parent:: [[Article]] +description:: A post to a social media platform, including blog posts, tweets, Facebook posts, etc. +url:: https://schema.org/SocialMediaPosting +exclude-from-graph-view:: true From f34a8d8e330937c0bf1c38b62fe30b45e0a30f2f Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 9 Aug 2026 18:57:34 +0200 Subject: [PATCH 3/3] fmt --- pages/JournalEntry.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/JournalEntry.md b/pages/JournalEntry.md index e48ae7d..023e428 100644 --- a/pages/JournalEntry.md +++ b/pages/JournalEntry.md @@ -2,4 +2,4 @@ type:: [[Class]] parent:: [[Class]] description:: A journal entry url:: {{notes-base-url JournalEntry}} -sameas:: +sameas:: https://schema.org/BlogPosting