I understand what you're saying, but with all due respect, I think you really were preaching the Gospel. If your doctrine was correct, you were teaching properly. All true doctrine ties back to Christ, the
Logos, the Mind and Wisdom of God. Expounding correct doctrine is obeying Christ's commandment of Matthew 28:19, 20. So, I think you owe yourself more credit than you're allowing (figuratively speaking).
This also kind of sets up a follow up question. We both agree that we should preach Christ, but how do we do so? Surely preaching Christ involves doctrine. How could we properly honor Christ if we do not preach him as revealed in the Scriptures? I can see where a church might fall short in failing to tie doctrine back to Christ. I know I've seen examples of that. I'd be reading a book and would think, "This is a great place to tie into the atonement," but the author decides not to. Nevertheless, this does not diminish the excellence of the teaching. It leaves room for improvement.
Soli Deo Gloria
Jon