There is a option in the settings:
Browse tag pages in Safe Mode
Hide content from NSFW blogs.
It works exactly like it says on the tin.