Kierkegaard’s relationship to Hegel is, well, complicated. Like any lover’s triangle, it’s complicated because of a third party, namely: Schelling.
I should like to recount the story as appropriately as I know how, as this will lead us to best understand how to situate Schelling and Hegel with respect to Kierkegaard’s critique of “Hegel” found in texts such as Ether/Or or Concluding Unscientific Postscript. For a long story short, it’s not immediately clear whether or not Kierkegaard understood Hegel as written, or whether Kierkegaard’s response was to more Danish Hegelians (e.g. Heiberg, Martensen, and Adolph Peter Adler) who arguably themselves deviated from Hegel.
I am inclined at this stage of my thought to believe the latter, in accordance with the work of Jon Stewart as found in Kierkegaard’s Relation to Hegel Reconsidered (review here). Without getting too far ahead of ourselves, this raises many questions of a “meta-level” between Kierkegaard and Hegel which needs to be explored on its own merit. Eventually, I believe Novalis’ work will help us in understanding and articulating this “meta-level”.