Files
plainleaf/website/Library/Core/Page/Maintenance.md
T
Zef HemelandGitHub 80f9c14b96 Change how attribute indexing and completion works (#1061)
* Creation of separate aspring-page objects for pages linked to, but not created
* Show "No results" instead of broken markdown table for no query results
* Show schema validation errors
* Deno upgrade
* Adds config support to plugs (see examples)
* Moves all builtin schemas to plug config
* Adds core plug just for builtin schemas
* Changes how attributes are indexed and completed, now attempts to derive a JSON schema for ad hoc attributes
2024-08-24 12:35:09 +02:00

993 B

#meta

We would like to keep our space clean, these are some tools that help you do that.

Aspiring pages

This shows all page links that link to a page that does not (yet) exist. These could be broken links or just pages aspiring to be created.

{{#let @brokenLinks = {aspiring-page}}}
{{#if @brokenLinks}}
{{#each @brokenLinks}}
* [[{{ref}}]]: broken link to [[{{name}}]]
{{/each}}
{{else}}
No aspiring pages, all good!
{{/if}}
{{/let}}

Conflict copies

These are pages that have conflicted copies (as a result of sync), have a look at them as well as their original (non-conflicted versions) and decide which one to keep.

{{#let @conflictPages = {
  page where name =~ /\.conflicted\.\d+$/
  select name as conflictedName,
         replace(name, /\.conflicted\.\d+$/, "") as cleanName
}}}
{{#if @conflictPages}}
{{#each @conflictPages}}
* [[{{cleanName}}]]: confict copy [[{{conflictedName}}]]
{{/each}}
{{else}}
No conflicting pages!
{{/if}}
{{/let}}