Created
April 18, 2020 09:35
-
-
Save arafatjamil01/3d3b1fc7a2af505888052aa4082165e6 to your computer and use it in GitHub Desktop.
Shopify theme codes
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
Add favicon: | |
=========== | |
{% if settings.favicon_enable %} | |
<link rel="shortcut icon" href="{{ 'favicon.png' | asset_url }}" type="image/png" /> | |
{% endif %} | |
<!-- Title and description ================================================== --> | |
<title> | |
{{ page_title }}{% if current_tags %}{% assign meta_tags = current_tags | join: ', ' %} – {{ 'general.meta.tags' | t: tags: meta_tags }}{% endif %}{% if current_page != 1 %} – {{ 'general.meta.page' | t: page: current_page }}{% endif %}{% unless page_title contains shop.name %} – {{ shop.name }}{% endunless %} | |
</title> | |
{% if page_description %} | |
<meta name="description" content="{{ page_description | escape }}"> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment