Files
plainleaf/libraries/Library/Std/Pages/Space Overview.md
T

882 B

#meta

This page compiles some useful stats about your space. You may also like the ^Library/Std/Pages/Maintenance page.

Stats

Total pages: ${#queryfrom index.pages() select name} Total documents: ${#queryfrom index.documents() select name}

Active Plugs

These are all the plugs currently active in your space: ${query[[ from space.listPlugs() select {name=string.gsub(_.name, "_plug/([^.]+).plug.js", "%1")} ]]}

Active Space Lua

These are all Space Lua scripts and the order in which they are loaded: ${query[[ from script = index.objects("space-lua") order by (script.priority or 0) desc, script.ref select template.new==[ * [[${ref}]] (priority: ${priority or "default"}) ]== ]]}

Active Space Style

${query[[ from s = index.objects("space-style") order by s.priority desc select templates.pageItem({name = s.ref}) ]]}