Skip to content

Take the Tengwar off the texts index - #616

Merged
dcellison merged 1 commit into
mainfrom
site/texts_index_tengwar
Jul 27, 2026
Merged

Take the Tengwar off the texts index#616
dcellison merged 1 commit into
mainfrom
site/texts_index_tengwar

Conversation

@dcellison

Copy link
Copy Markdown
Owner

What this does

The texts index rendered every catalogue title twice: once in romanized Phi at the top of the entry, and again in Tengwar in the meta column beside the method label. Seventeen short works and the book entry each carried one. A reader meets the Tengwar properly on the work's own page, at full size, after choosing the text. On the index it was repetition before the choice, and it crowded the column.

Both index entries lose the rendering. Work pages keep theirs exactly as they were.

Changes

scripts/build_site.py drops the Tengwar block from the short-work entry and from the News from Nowhere entry, and text_contents_title now returns just the romanized Phi and English halves it needs. site/style.css loses the three rule blocks that dressed the element: the base rules, the narrow-width overrides, and the print sizing.

The helper previously raised if a catalogue title could not render in Tengwar. That check is not lost: each work page renders and validates its own title through the same path, so an unrenderable title still stops the build.

Verification

The site builds. text-index-entry-tengwar appears nowhere in the deployment tree, and text-title-tengwar is still present on the work pages.

Per the standing rule on site changes, the result was measured rather than assumed. A headless Chrome render of the index at 1280 wide shows the entries reading number, Phi title, English title, summary, method label, arrow, with the meta column intact and no layout collapse. A render of metta_sutta.html confirms the Tengwar still sits under the English title where it belongs.

A narrow render at 420 showed horizontal clipping, which turned out to be a headless artifact rather than a regression: an untouched page, the pamphlets index, clips identically at that width because headless Chrome applies no mobile viewport emulation. The deleted media-query rules styled only the removed element, so no other content could be affected by their absence.

Validator run standalone: 1,287 entries, 0 errors, 0 warnings. No Markdown changed, so the phonetic neighbor baseline is untouched.

Every catalogue entry on the shelf index carried its title a second
time in Tengwar, beside the method label. The rendering belongs to the
work's own page, where a reader who has opened a text meets it once at
full size. On the index it repeated seventeen titles nobody had chosen
yet and crowded the column that carries the method.

The index entries and the book entry drop the rendering, the title
helper returns the two halves it now needs, and the three stylesheet
rules that dressed the element go with it. Work pages are untouched.
@dcellison
dcellison merged commit f1c14a5 into main Jul 27, 2026
1 check passed
@dcellison
dcellison deleted the site/texts_index_tengwar branch July 27, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants