add fgc real server rules in the buttons_role.json
This commit is contained in:
parent
f23ca2df4a
commit
5c0d010d3e
4 changed files with 154 additions and 146 deletions
|
@ -89,16 +89,20 @@
|
|||
<div
|
||||
id="h"
|
||||
class="footer-locale">
|
||||
{{ $sitelanguages := .Site.Languages }}
|
||||
{{ $nextlang := (collections.Last (collections.Where $sitelanguages "Lang" .Language.Params.nextlang )) }}
|
||||
{{ $nextlang_url := (printf "/%s/%s" $nextlang.Lang .Page.RelPermalink ) }}
|
||||
<a
|
||||
class="button button-primary"
|
||||
@click="onSwapLocale">
|
||||
href="{{ $nextlang_url }}"
|
||||
>
|
||||
<div class="button-icon">
|
||||
<i class="fa fas fa-flag"></i>
|
||||
</div>
|
||||
<div
|
||||
class="link button-text">
|
||||
<span>
|
||||
Français
|
||||
{{ $nextlang.Name }}
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue