More graceful `@parent` directive handling

Remove `@parent` from output contents when the section hasn't been previously extended.