add proper language links
This commit is contained in:
parent
b8ccd7eed9
commit
be3adf3425
|
@ -22,10 +22,10 @@
|
|||
|
||||
<div id="languages">
|
||||
<ul>
|
||||
<li><a class="active" href="#" title="fr">fr</a></li>
|
||||
<li><a href="#" title="nl">nl</a></li>
|
||||
<li><a href="#" title="en">en</a></li>
|
||||
<li><a href="#" title="de">de</a></li>
|
||||
<li><a id="lang-fr" class="active" href="/" title="fr">fr</a></li>
|
||||
<li><a id="lang-nl" class="active" href="/nl/" title="nl">nl</a></li>
|
||||
<li><a id="lang-en" class="active" href="/en/" title="en">en</a></li>
|
||||
<li><a id="lang-de" class="active" href="/de/" title="de">de</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
<theme href="index.html" />
|
||||
</rules>
|
||||
|
||||
<drop attributes="class" css:theme="#lang-fr" if="//meta[@name='DC.language']/@content != 'fr'"/>
|
||||
<drop attributes="class" css:theme="#lang-nl" if="//meta[@name='DC.language']/@content != 'nl'"/>
|
||||
<drop attributes="class" css:theme="#lang-de" if="//meta[@name='DC.language']/@content != 'de'"/>
|
||||
<drop attributes="class" css:theme="#lang-en" if="//meta[@name='DC.language']/@content != 'en'"/>
|
||||
|
||||
<replace content="/html/head/title" theme="/html/head/title" />
|
||||
<replace content="/html/head/base" theme="/html/head/base" />
|
||||
<replace content="/html/head/meta" theme="/html/head/meta" />
|
||||
|
|
Reference in New Issue