build each language plus a default; update header to explicitly specify language when clicking english

This commit is contained in:
John Hess 2021-11-30 16:24:19 -06:00
parent c9fe5cdc58
commit da03bd27af
2 changed files with 2 additions and 1 deletions

View file

@ -22,6 +22,7 @@ pages:
script: script:
- cp _data/en/home.yml _data/home.yml - cp _data/en/home.yml _data/home.yml
- bundle exec jekyll build -d public - bundle exec jekyll build -d public
- bundle exec jekyll build -d public/en
- cp _data/es/home.yml _data/home.yml - cp _data/es/home.yml _data/home.yml
- bundle exec jekyll build -d public/es - bundle exec jekyll build -d public/es
artifacts: artifacts:

View file

@ -11,7 +11,7 @@
</div> </div>
<div class="header-menu"> <div class="header-menu">
<ul class="header-menu-list ls-40"> <ul class="header-menu-list ls-40">
<li><a href="/" class="darklink">English</a></li> <li><a href="/en" class="darklink">English</a></li>
<li><a href="/es" class="darklink">Español</a></li> <li><a href="/es" class="darklink">Español</a></li>
</ul> </ul>
</div> </div>