Keep a god away from the inside of a temple (6)
I believe the answer is:
pagoda
'a temple' is the definition.
(I know that pagoda is a type of temple)
'keep a god away from the inside' is the wordplay.
'the inside' indicates the answer is hidden within the clue.
'PAGODA' is hidden in the letters of 'keep a god away from'.
'of' is the link.
(Other definitions for pagoda that I've seen before include "Sacred many-tiered temple" , "Asian temple with upward curving roof" , "Hindu temple shaped like pyramid" , "Oriental temple, often a tower" , "Pyramidal temple with an upward curving roof" .)