Text this: Tuning the excited state of photoactive building blocks for metal-templated self-assembly.