Last active
February 15, 2019 21:22
-
-
Save saltukalakus/8b52d81b57b302e0452dbd50c6f0af06 to your computer and use it in GitHub Desktop.
Print the user's metadata for the language in the template
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 user.user_metadata.lang %} | |
<br> {{user.user_metadata.lang}} | |
{% elsif user.app_metadata.lang %} | |
<br> {{user.app_metadata.lang}} | |
{% else %} | |
<br> no metadata for the language | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment