fix missing closing parentheses in Content section by correcting Jinja logic