9a89df6b8e
The link to the privact policy was loading the fourth title because `titles[3]` is gonna be the fourth element in the array. Since there are only three in the array and the third in `en_gb` is 'Privacy Policy', I'm gonna assume that it's meant to be `titles[2]`. I make this mistake a lot myself.
5 lines
469 B
HTML
5 lines
469 B
HTML
{% include base_path %}
|
|
{% assign split_path = page.path | split: "/" %}
|
|
{% assign locale = split_path[1] %}
|
|
{% assign titles = site.data.navigation[locale].footer %}
|
|
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }} - <a href="https://github.com/hacks-guide/Guide_3DS">{{ titles[0].title }}</a> - <a href="site-navigation">{{ titles[1].title }}</a> - <a href="privacy-policy">{{ titles[2].title }}</a></div>
|