Kant famously spoke of leaving room for faith in his philosophy, but also wrote a historically important essay on “Religion Within the Limits of Reason Alone”. He tended to see religion mainly in ethical terms, and Fichte and Hegel did so likewise. Fichte lost his Jena philosophy chair over accusations of atheism he strenuously repudiated. The generation after Hegel was notoriously divided into “Left” and “Right” Hegelians, who both attributed (nearly opposite) views on religion to Hegel that I think he would have called very one-sided. It is difficult to meaningfully comment on this kind of controversy without offending someone, or perhaps both sides.
With Hegel and other historic philosophers who lived in communities with a commonly accepted orthodoxy of some sort, it is often relevant to carefully distinguish the sometimes unspoken implications of their thought from their explicit rhetorical stance, without assuming in advance that these are perfectly aligned. In my older age though, I have come to consider that what I just called the philosopher’s “rhetorical stance” may reflect important practical, social considerations that may have merit of their own. While we should not necessarily take everything a historic philosopher says on these delicate topics at face value, if we are engaged in charitable reading we certainly ought not to assume that the philosopher’s rhetorical stance is “mere” rhetoric that need not be taken seriously.
In medieval terms, I am for the complete independence of philosophy. At the same time, I want to treat the world’s religious traditions (not just one of them) with respect. When touching on theological topics, I try to balance occasional focused sharp remarks with a general live-and-let-live policy, inspired in part by the stances of Leibniz and Paul Ricoeur.