get the title from yaml when available