Repository navigation
Commit 530347d
Fix /site dropping links to other Telegraph accounts' pages on rebuild
read_external() decided what to carry forward across a rebuild using
"telegra.ph" in href - true for this account's own pages, but also true
for a /link entry pointing at a DIFFERENT Telegraph account's page (the
observer's status page, published under telepatch-ops). That looked like
an own page and got excluded from preservation, and it was never in this
account's own scan either, so it silently vanished on every /site rebuild.
read_external() now takes the account's own known paths and only treats a
telegra.ph href as "ours" - left for the ordinary scan to regenerate - when
its path is actually in that set. Everything else, GitHub links included,
is preserved verbatim as before.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent ce71a55 commit 530347d
2 files changed
Lines changed: 82 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3099 | 3099 | | |
3100 | 3100 | | |
3101 | 3101 | | |
3102 | | - | |
| 3102 | + | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
3103 | 3111 | | |
3104 | | - | |
| 3112 | + | |
3105 | 3113 | | |
3106 | 3114 | | |
3107 | | - | |
3108 | | - | |
3109 | | - | |
| 3115 | + | |
| 3116 | + | |
| 3117 | + | |
| 3118 | + | |
| 3119 | + | |
| 3120 | + | |
| 3121 | + | |
| 3122 | + | |
| 3123 | + | |
| 3124 | + | |
3110 | 3125 | | |
3111 | 3126 | | |
| 3127 | + | |
3112 | 3128 | | |
3113 | 3129 | | |
3114 | 3130 | | |
| |||
3134 | 3150 | | |
3135 | 3151 | | |
3136 | 3152 | | |
3137 | | - | |
| 3153 | + | |
| 3154 | + | |
| 3155 | + | |
| 3156 | + | |
3138 | 3157 | | |
3139 | 3158 | | |
3140 | 3159 | | |
| |||
3494 | 3513 | | |
3495 | 3514 | | |
3496 | 3515 | | |
| 3516 | + | |
3497 | 3517 | | |
3498 | 3518 | | |
3499 | 3519 | | |
3500 | | - | |
| 3520 | + | |
3501 | 3521 | | |
3502 | 3522 | | |
3503 | 3523 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
0 commit comments