The problem with this solution is that I want the_excerpt to show on one type of page and the_content to show on another type of page– where you are using the same template for multiple types of pages.
I have found my solution by creating a new template and another template_part to use instead of content.php that contains code I found elsewhere on the web. It ain’t pretty but it works.
I had originally copied your code from content.php to my newcontent.php, which is where I experienced the blank page. Yet when I copied the new code into newcontent.php, it worked. I can’t figure out why this happened.
I thought that a better solution could have been achieved with another conditional statement in your template and this might be something to consider for future releases of this theme.