Remove body from entry row template instead of removing it in JS

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-17 22:40:47 +00:00
parent 8718cdda25
commit 3b646a1b0f
2 changed files with 0 additions and 3 deletions

View File

@@ -382,8 +382,6 @@ function make_entry_row(entry, children_map) {
fill_markdown(row.querySelector('.task-title'), entry.title);
const body_el = row.querySelector('.task-body');
body_el.remove();
const tags_el = row.querySelector('.task-tags');
for (const tag of entry.tags) {

View File

@@ -10,7 +10,6 @@
</div>
<div class="task-main">
<div class="task-title markup"></div>
<div class="task-body markup" hidden></div>
<div class="task-footer">
<span class="task-tags"></span>
<div class="task-actions">