_includes: footer: add translations
This commit is contained in:
parent
00fa7be38b
commit
91dcf9daa6
1 changed files with 6 additions and 1 deletions
|
@ -18,4 +18,9 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
|
<!-- hacks-guide change start: custom footer -->
|
||||||
|
{% 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="site-navigation">{{ titles[1].title }}</a> - <a href="privacy-policy">{{ titles[2].title }}</a> <!-- {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.--></div>
|
||||||
|
<!-- hacks-guide change end -->
|
||||||
|
|
Loading…
Reference in a new issue