trunctuate site title properly according to actual width and at code point index