Fixed author tag in meta.html

Capture didn't seems to be assigning the author variable correctly so replaced it with assign within an if else loop