inject trend_name into template context