Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .graph-validator/schema.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
"All journal entries should have a :datecreated property")))
2 changes: 1 addition & 1 deletion journals/2025_05_06.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type:: [[Journal]]
type:: [[JournalEntry]]
author:: [[Ross Chadwick]]
datecreated:: 06-05-2025
published:: true
Expand Down
2 changes: 1 addition & 1 deletion logseq/config.edn
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions pages/BlogPosting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type:: [[Class]]
parent:: [[SocialMediaPosting]]
description:: A blog post.
url:: https://schema.org/BlogPosting
exclude-from-graph-view:: true
5 changes: 0 additions & 5 deletions pages/Journal.md

This file was deleted.

5 changes: 5 additions & 0 deletions pages/JournalEntry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type:: [[Class]]
parent:: [[Class]]
description:: A journal entry
url:: {{notes-base-url JournalEntry}}
sameas:: https://schema.org/BlogPosting
5 changes: 5 additions & 0 deletions pages/SocialMediaPosting.md
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions pages/Templates.md
Original file line number Diff line number Diff line change
@@ -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
template:: Note
Loading