summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2021-06-29 10:42:51 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2021-06-29 10:45:31 +0800
commit0fea688977e16c1f1f42c23b36b14ed325ee606b (patch)
tree19bbdd93d9a3f098f1c378796d506920dd8e9f3c /_includes
parentb3e6ee2f69a463e7c0ba075b488c3a3959096c94 (diff)
fix: liquid syntax error of footer copyright
Diffstat (limited to '_includes')
-rw-r--r--_includes/views/footer.html10
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)', '&copy;'
| replace: '(p)', '℗'
| replace: '(cleft)', '<span class="copyleft">&copy;</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> &amp; <a title="Yat, yet
another theme." href="https://github.com/jeffreytse/jekyll-theme-yat">Yat Theme</a>.</div>