now also setting tags variable in posting templates