Created
January 24, 2019 07:37
-
-
Save rruhlen/4cda953eb264adf7173e9bfac3ca9b49 to your computer and use it in GitHub Desktop.
detect language and display link if page loaded is the article page
This file contains hidden or 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
{% case system.language %} | |
{% when 'en_au' %} | |
{% if page == 'page_article' %} | |
AU tag | |
{% endif %} | |
{% when 'en_nz' %} | |
{% if page == 'page_article' %} | |
NZ tag | |
{% endif %} | |
{% endcase %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment