2 lines
2.3 KiB
JavaScript
2 lines
2.3 KiB
JavaScript
import{_ as e,o as d,c as r,a2 as a}from"./chunks/framework.B8zgMDLd.js";const p=JSON.parse('{"title":"Frontmatter Fields","description":"","frontmatter":{},"headers":[],"relativePath":"reference/frontmatter-fields.md","filePath":"reference/frontmatter-fields.md"}'),o={name:"reference/frontmatter-fields.md"};function i(n,t,s,c,l,h){return d(),r("div",null,[...t[0]||(t[0]=[a('<h1 id="frontmatter-fields" tabindex="-1">Frontmatter Fields <a class="header-anchor" href="#frontmatter-fields" aria-label="Permalink to "Frontmatter Fields""></a></h1><p>Tolaria uses conventions instead of a required schema.</p><table tabindex="0"><thead><tr><th>Field</th><th>Meaning</th></tr></thead><tbody><tr><td><code>type</code></td><td>The note's entity type.</td></tr><tr><td><code>status</code></td><td>Lifecycle state.</td></tr><tr><td><code>icon</code></td><td>Per-note icon.</td></tr><tr><td><code>url</code></td><td>External URL.</td></tr><tr><td><code>date</code></td><td>Single date.</td></tr><tr><td><code>belongs_to</code></td><td>Parent relationship.</td></tr><tr><td><code>related_to</code></td><td>Lateral relationship.</td></tr><tr><td><code>has</code></td><td>Contained relationship.</td></tr><tr><td><code>_width</code></td><td>Per-note editor width override.</td></tr><tr><td><code>_icon</code>, <code>_color</code></td><td>Type or note appearance metadata.</td></tr><tr><td><code>_sidebar_label</code>, <code>_order</code></td><td>Type sidebar label and order.</td></tr><tr><td><code>_pinned_properties</code></td><td>Properties pinned for a type.</td></tr></tbody></table><h2 id="custom-fields" tabindex="-1">Custom Fields <a class="header-anchor" href="#custom-fields" aria-label="Permalink to "Custom Fields""></a></h2><p>You can add your own fields. If a field contains wikilinks, Tolaria can treat it as a relationship.</p><h2 id="system-fields" tabindex="-1">System Fields <a class="header-anchor" href="#system-fields" aria-label="Permalink to "System Fields""></a></h2><p>Fields starting with <code>_</code> are reserved for system behavior and hidden from standard property editing. They remain plain YAML, so they can still be inspected or changed in raw mode when needed.</p>',7)])])}const m=e(o,[["render",i]]);export{p as __pageData,m as default};
|