footer: add privacy-policy

This commit is contained in:
lifehackerhansol 2023-10-04 09:15:20 -07:00
parent 796c5b12ad
commit 1efe543f8a
No known key found for this signature in database
GPG key ID: 80FB184AFC0B3B0E
2 changed files with 4 additions and 1 deletions

View file

@ -25,6 +25,9 @@ footer:
-
title: Site Navigation
url: site-navigation
-
title: Privacy Policy
url: privacy-policy
-
title: Donations
url: donations

View file

@ -27,5 +27,5 @@
{% assign split_path = page.path | split: "/" %}
{% assign locale = split_path[1] %}
{% assign titles = site.data.navigation[locale].footer %}
<div class="page__footer-copyright">&copy; {{ 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> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.--></div>
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. - <a href="{{ titles[1].url }}">{{ titles[1].title }}</a> - <a href="{{ titles[2].url }}">{{ titles[2].title }}</a> - <a href="{{ titles[3].url }}">{{ titles[3].title }}</a> <!-- {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.--></div>
<!-- hacks-guide change end -->