Yes, charitable contributions are an itemized deduction and will only be reflected on your return if you itemize deductions, as opposed to taking the standard deduction, on your return.
More information on the standard versus itemized deductions:
https://ttlc.intuit.com/replies/3302313