setting up scripts, testing...

This commit is contained in:
ed committed 2026-08-23 15:08:02 -04:00
1 parent c18ee1b4b5
commit 6789270c6a
6 files changed
+337 -26

No files matched your search

-10
View File
@@ -6,12 +6,6 @@ from .models import PostData, ThreadData
from .slug import date_prefix
from .tree import by_id
_PROVENANCE = (
"> [!info] Provenance\n"
"> Primary source record. Do not editorialize here. "
"Interpretation goes in a `notes/` page."
)
def _yaml_quote(value: str) -> str:
return '"' + value.replace("\\", "\\\\").replace('"', '\\"') + '"'
@@ -149,8 +143,6 @@ def render_spine(
in_reply_to=in_reply_to,
),
"",
_PROVENANCE,
"",
_source_block(first),
"",
]
@@ -200,8 +192,6 @@ def render_branch(
parent_post_id=root.reply_to_id or "",
),
"",
_PROVENANCE,
"",
_source_block(root),
"",
"## Branch",