I am having an issue with my blog post template, more specifically a custom module for the blog banner. The banner was a color background before, but after changing the background to an image the blog author no longer appeared in the banner.
Below is the code (HUBL/HTML) for the custom module:
{% if is_listing_view %}
<div class=“banner-area” style=“background-image:url();”>
<div class=“banner-image content-fill”>
<img src=“//cdn2.hubspot.net/hubfs/4515283/SignumBiosciences_July2018%20Theme/Images/SITE-EXPORTS_0012_FULLBLEED-02.jpg” alt=“Banner Image”>
</div>
<div class=“page-center”>
<h1>{{ group.public_title }}</h1>
</div>
</div>
{% else %}
<div class=“banner-area” style=“background-image:url();”>
<div class=“banner-image content-fill”>
<img src=“https://cdn2.hubspot.net/hubfs/4515283/COVER%20IMAGES/SITE-EXPORTS_0009_ELEMENTS%20Glass.jpg” alt=“Banner Image”>
</div>
<div class=“page-center”>
<h1>{{ content.name }}</h1>
<p class=“date-sec”>{{ content.publish_date_local_time.strftime(‘%b’) }} {{ content.publish_date_local_time.strftime(‘%d’) }}, {{ content.publish_date_local_time.strftime(‘%Y’) }}</p>
<div class=“banner-author”>
<span class=“hs-author-label”>by</span>
{% if content.blog_post_author %}
<a class=“author-link” href=“{{ blog_author_url(group.id, content.blog_post_author.slug) }}”>{{ content.blog_post_author.display_name }}</a>
{% endif %}
</div>
</div>
</div>
{% endif %}
The section in orange is the new piece of code I inserted, which seems to be causing the problem.
Please let me know if there is anything else that I need to include about the issue to help. Any helpful tips would be greatly appreciated.
Thank you!

