Created
December 9, 2019 10:45
-
-
Save elmarputz/af53cc7ac8be8567183ef0e15cc65272 to your computer and use it in GitHub Desktop.
Contac.html language
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
<f:if condition="{languageNavigation}"> | |
<ul id="language" class="language-menu"> | |
<f:for each="{languageNavigation}" as="item"> | |
<li class="{f:if(condition: item.active, then: 'active')}{f:if(condition: item.available, else: ' text-muted')}"> | |
<f:if condition="{item.available}"> | |
<f:then> | |
<a href="{item.link}" hreflang="{item.hreflang}" title="{item.navigationTitle}"> | |
<span>{item.navigationTitle}</span> | |
</a> | |
</f:then> | |
<f:else> | |
<span>{item.navigationTitle}</span> | |
</f:else> | |
</f:if> | |
</li> | |
</f:for> | |
</ul> | |
</f:if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment