summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2020-12-09 09:52:51 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2020-12-09 09:52:51 +0800
commitb43b6bd748af5339f8aedd70ba39313b6d98b377 (patch)
tree67ab85328d84767e262f21864eeaf6fd1fa0ae0e
parentf37b72da7e85457d89d405bbc877b933d329f740 (diff)
fix: footer display issue when no author
-rw-r--r--_includes/views/footer.html2
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> &amp; <a title="Yat, yet
another theme." href="https://github.com/jeffreytse/jekyll-theme-yat">Yat Theme</a>.</div>