Commit 0f1c7d1
Fix template change detection for multi-version sites
When templates were edited in a multi-version/role setup, only pages
from the current site slice (h.Sites) were checked for dependencies,
not pages from all sites. Fix by changing withPage to iterate over
all sites using allSites.
Fixes #14461
Co-authored-by: Claude Opus 4.5 <[email protected]>1 parent 1035233 commit 0f1c7d1
File tree
2 files changed
+24
-12
lines changed- hugolib
- sitesmatrix
2 files changed
+24
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | 534 | | |
544 | | - | |
| 535 | + | |
545 | 536 | | |
546 | 537 | | |
547 | 538 | | |
| |||
552 | 543 | | |
553 | 544 | | |
554 | 545 | | |
555 | | - | |
556 | | - | |
| 546 | + | |
| 547 | + | |
557 | 548 | | |
558 | 549 | | |
559 | 550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1637 | 1637 | | |
1638 | 1638 | | |
1639 | 1639 | | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
0 commit comments