Skip to content

Commit 563c0b9

Browse files
Refactor footer copyright HTML for readability
1 parent cbbb809 commit 563c0b9

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

_includes/footer.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@
1616
{% endfor %}
1717
{% endif %}
1818

19-
<div class="page__footer-copyright">&copy; {% assign site_time = site.time | date: '%Y' %}{% if site.footer.since and site_time != site.footer.since %}{{ site.footer.since }} - {% endif %}{{ site_time }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title | escape_once | strip }}</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/jekyll-themes/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a>.</div>
19+
{% assign site_time = site.time | date: '%Y' %}
20+
<div class="page__footer-copyright">
21+
&copy;
22+
{% if site.footer.since and site_time != site.footer.since %}
23+
{{ site.footer.since }} -
24+
{% endif %}
25+
{{ site_time }}
26+
<a href="{{ site.copyright_url | default: site.url }}">
27+
{{ site.copyright | default: site.title | escape_once | strip }}
28+
</a>.
29+
{{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }}
30+
<a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp;
31+
<a href="https://mademistakes.com/work/jekyll-themes/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a>.
32+
</div>
2033

2134
<p class="footer-glow">Built with micro:bit magic and ethical code.</p>

0 commit comments

Comments
 (0)