add block and category metadata
handle text and title using fn