Commit ac4a87a
committed
TRAC-296: fix(footer) - Respect blog visibility setting in footer nav
Footer "Navigate" section listed every page returned by content.pages
without checking isVisibleInNavigation, so the Blog link always showed
even when Blog visibility was turned off in Control Panel. Fetch
isVisibleInNavigation on each page node and filter hidden pages out
before rendering nav links.
Fixes TRAC-2961 parent 6184ef2 commit ac4a87a
2 files changed
Lines changed: 7 additions & 4 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
0 commit comments