diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2020-12-09 09:52:51 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2020-12-09 09:52:51 +0800 |
commit | b43b6bd748af5339f8aedd70ba39313b6d98b377 (patch) | |
tree | 67ab85328d84767e262f21864eeaf6fd1fa0ae0e /_includes/views | |
parent | f37b72da7e85457d89d405bbc877b933d329f740 (diff) |
fix: footer display issue when no author
Diffstat (limited to '_includes/views')
-rw-r--r-- | _includes/views/footer.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/views/footer.html b/_includes/views/footer.html index 867a428..86650e1 100644 --- a/_includes/views/footer.html +++ b/_includes/views/footer.html @@ -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> & <a title="Yat, yet another theme." href="https://github.com/jeffreytse/jekyll-theme-yat">Yat Theme</a>.</div> |