Skip to content

Instantly share code, notes, and snippets.

@agilelogix
Last active August 10, 2023 19:41
Show Gist options
  • Save agilelogix/025ff516f91cf30603d8d45e85c2578f to your computer and use it in GitHub Desktop.
Save agilelogix/025ff516f91cf30603d8d45e85c2578f to your computer and use it in GitHub Desktop.
Social Media Icons
-------------------------------
<div class="sl-row mt-2">
<div class="pol justify-content-center text-center">
{{if facebook_url}}
<a href="{{:facebook_url}}" class="btn btn-asl">[Facebook]</a>
{{/if}}
{{if twitter_url}}
<a href="{{:twitter_url}}" class="btn btn-asl">[Twitter]</a>
{{/if}}
{{if instagram_url}}
<a href="{{:instagram_url}}" class="btn btn-asl">[Instagram]</a>
{{/if}}
</div>
</div>
Phone 2
------------------------
{{if phone_2}}
<div class="phone"><i class="icon-mobile-1"></i><a href="tel:{{:phone_2}}">{{:phone_2}}</a></div>
{{/if}}
Add a Website Button
-----------------------
{{if website}}
<div class="sl-row mt-10">
<div class="pol">
<a href="{{:website}}" class="btn btn-asl">View Site</a>
</div>
</div>
{{/if}}
Add a Website Button with Custom Text
----------------------------------------
{{if website}}
<div class="sl-row mt-10">
<div class="pol">
<a href="{{:website}}" class="btn btn-asl">{{if website_text}}{{:website_text}}{{else}}View Site{{/if}}</a>
</div>
</div>
{{/if}}
Additional Description
-------------------------------
<div class="sl-row mt-2">
<div class="pol justify-content-center text-center">
{{if description_2}}
<p>{{:description_2}}</p>
{{/if}}
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment