diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-06 21:15:03 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-06 21:15:03 +0200 |
| commit | 0f8a3066c55b6ecb9d95b3e9306eee5262928b14 (patch) | |
| tree | 47dea8952fd458e0c100682b26c9a50c6f6ee293 /app/helpers | |
| parent | 5644fffbc3c58e6dd7e3c4103c28bad8f4c0bbc6 (diff) | |
Re-structure sitemap, all subpages collapsed by default, visually tightened
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/nodes_helper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/helpers/nodes_helper.rb b/app/helpers/nodes_helper.rb index 48f44f8b..fa3cc443 100644 --- a/app/helpers/nodes_helper.rb +++ b/app/helpers/nodes_helper.rb | |||
| @@ -70,8 +70,4 @@ module NodesHelper | |||
| 70 | path = node.unique_path | 70 | path = node.unique_path |
| 71 | CccConventions::NODE_KINDS.select { |_, config| config[:parent_match]&.call(path) } | 71 | CccConventions::NODE_KINDS.select { |_, config| config[:parent_match]&.call(path) } |
| 72 | end | 72 | end |
| 73 | |||
| 74 | def sitemap_node_open?(node) | ||
| 75 | !CccConventions::SITEMAP_COLLAPSED_PATHS.include?(node.unique_name) | ||
| 76 | end | ||
| 77 | end | 73 | end |
