fix: footer display issue when no author

This commit is contained in:
jeffreytse 2020-12-09 09:52:51 +08:00
parent f37b72da7e
commit b43b6bd748

View file

@ -3,7 +3,7 @@
<div class="wrapper">
<div class="site-footer-inner">
<div>{{ site.copyright }} @{{ site.author | escape }}</div>
<div>{{ site.copyright }} {% if site.author %}@{{ site.author | escape }}{% endif %}</div>
<div>Powered by <a title="Jekyll is a simple, blog-aware, static site
generator." href="http://jekyllrb.com/">Jekyll</a> &amp; <a title="Yat, yet
another theme." href="https://github.com/jeffreytse/jekyll-theme-yat">Yat Theme</a>.</div>