Right now, document.xql has a document:clip-string function, which trims the length of a string to a specific length and appends an ellipses if necessary. While that makes some sense if we're worried about bad headlines, it would be better to do this in CSS since it gives us greater control over how much of a headline is shown in different contexts, which we may need once #86 is resolved.
Right now,
document.xql
has adocument:clip-string
function, which trims the length of a string to a specific length and appends an ellipses if necessary. While that makes some sense if we're worried about bad headlines, it would be better to do this in CSS since it gives us greater control over how much of a headline is shown in different contexts, which we may need once #86 is resolved.