Last active
July 28, 2023 05:38
-
-
Save hardik29418/523e751dfd92c564968cb4d19700efbb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%- if section.settings.show_announcement -%} | |
{%- if section.settings.home_page_only == false or template.name == 'index' -%} | |
<div class="announcement-bar-parent"> | |
{%- if section.settings.announcement_link != blank -%} | |
<a href="{{ section.settings.announcement_link }}" > | |
{%- endif -%} | |
<p class="announcement-bar-message">{{ section.settings.announcement_text }}</p> | |
{%- if section.settings.announcement_link != blank -%} | |
</a> | |
{%- endif -%} | |
</div> | |
{%- endif -%} | |
{%- endif -%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment