Commit c82078b
feat(tags): warn when the tags marker renders an empty index
A tags page whose index is empty renders as a blank body, which looks
like a bug. Emit a build warning when the '<!-- material/tags -->' marker
is present but no tags were collected (no page declared 'tags:' front
matter, or they were all hidden as shadow tags), so the empty page is
diagnosable instead of silent.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a8a203e commit c82078b
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| 87 | + | |
85 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
86 | 102 | | |
87 | 103 | | |
88 | 104 | | |
| |||
0 commit comments