The event blended national remembrance with displays of unity amid social media buzz over Trump’s appearance.