Menu migrated to respective languages

This commit is contained in:
Jocelyn Badgley (Twipped) 2021-08-11 13:42:30 -07:00
parent 6aa3db858d
commit cfd40a85d8
4 changed files with 1 additions and 7 deletions

View File

@ -1,6 +0,0 @@
{{#is page.lang "es"}}
{{import '/public/_gdb-es-menu'}}
{{else}}
{{import '/public/_gdb-en-menu'}}
{{/is}}

View File

@ -63,7 +63,7 @@
<div class="top-nav"> <div class="top-nav">
<ul class="top-nav-inner"> <ul class="top-nav-inner">
<li>{{import '/public/_gdb-menu'}}</li> <li>{{import (join [ '/public/' page.lang '/_menu' ] "")}}</li>
<li><a href="/tweets/" class="top-nav-item" title="{{{lang 'Trans Twitter Topics'}}}"><img src="/images/transtwitter.png" width="24" height="24" alt=""></a></li> <li><a href="/tweets/" class="top-nav-item" title="{{{lang 'Trans Twitter Topics'}}}"><img src="/images/transtwitter.png" width="24" height="24" alt=""></a></li>
<li class="disposable"><a href="https://github.com/GenderDysphoria/GenderDysphoria.fyi" class="top-nav-item">{{icon 'brands/github'}}</a></li> <li class="disposable"><a href="https://github.com/GenderDysphoria/GenderDysphoria.fyi" class="top-nav-item">{{icon 'brands/github'}}</a></li>
<li class="disposable"><a href="https://patreon.com/curvyandtrans" class="top-nav-item" title="Patreon">{{icon 'brands/patreon'}}</a></li> <li class="disposable"><a href="https://patreon.com/curvyandtrans" class="top-nav-item" title="Patreon">{{icon 'brands/patreon'}}</a></li>