diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2021-06-29 10:42:51 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2021-06-29 10:45:31 +0800 |
commit | 0fea688977e16c1f1f42c23b36b14ed325ee606b (patch) | |
tree | 19bbdd93d9a3f098f1c378796d506920dd8e9f3c /_includes | |
parent | b3e6ee2f69a463e7c0ba075b488c3a3959096c94 (diff) |
fix: liquid syntax error of footer copyright
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/views/footer.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/_includes/views/footer.html b/_includes/views/footer.html index 78f2f6d..4c2707e 100644 --- a/_includes/views/footer.html +++ b/_includes/views/footer.html @@ -3,15 +3,15 @@ <div class="wrapper"> <div class="site-footer-inner"> - <div> - {%- assign currYear = 'now' | date: "%Y" -%} - {{ site.copyright - | replace: '{currentYear}', currYear + {%- assign currentYear = 'now' | date: "%Y" -%} + {%- assign copyright = site.copyright + | replace: '{currentYear}', currentYear | replace: '{author}', site.author | replace: '(c)', '©' | replace: '(p)', '℗' | replace: '(cleft)', '<span class="copyleft">©</span>' - }}</div> + -%} + <div>{{ copyright }}</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> |