Files
plainleaf/libraries/Library/Std/Pages/Maintenance.md
T
Zef HemelandGitHub a524c64884 Go backend (#1555)
* Replaces old Deno server with a Go implementation
* Restructured the code base accordingly
2025-09-19 13:23:20 +02:00

23 lines
870 B
Markdown

#meta
We would like to keep our space clean. These are some tools that help you do that.
# Aspiring pages
This shows page links (max 20 to keep things sensible) that link to a page that does not (yet) exist. These could be broken links or just pages _aspiring_ to be created.
${some(template.each(query[[
from index.tag "aspiring-page"
limit 20
]], template.new[==[
* [[${ref}]]: broken link to [[${name}]]
]==])) or "No aspiring pages, all good!"}
# Conflicting copies
These are pages that have conflicting copies (as a result of sync). Have a look at them as well as their original (non-conflicting) versions and decide which one to keep.
${some(template.each(query[[
from index.tag "page" where name:find("%.conflicted:")
]], template.new[==[
* [[${name:gsub("%.conflicted:.+$", "")}]]: conflict copy [[${name}]]
]==])) or "No conflicting pages!"}