Repository navigation
Commit 6a7a4f7
Keep the summary in entry meta descriptions (#286)
seoDescription clipped "lead + first sentence" as one string, so clipText
cut at the lead's own full stop and dropped the summary whenever the pair
ran past 155 characters. About 80 entry pages carried only the licence
lead, and pages sharing a licence shared one description.
Clip the summary to the room the lead leaves instead, with a word cut and
an ellipsis; the lead stands alone only when fewer than 20 characters are
left. Built site: 422 entry descriptions, no duplicates, none over 160.
Fixes #286
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpkeXPtfg3jGzhfoGMshTE1 parent 1bcc458 commit 6a7a4f7
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1668 | 1668 | | |
1669 | 1669 | | |
1670 | 1670 | | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
1671 | 1677 | | |
1672 | 1678 | | |
1673 | 1679 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| |||
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
224 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
225 | 233 | | |
226 | 234 | | |
227 | 235 | | |
| |||
0 commit comments