fix: liquid syntax error of footer copyright
This commit is contained in:
parent
b3e6ee2f69
commit
0fea688977
1 changed files with 5 additions and 5 deletions
|
@ -3,15 +3,15 @@
|
||||||
|
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<div class="site-footer-inner">
|
<div class="site-footer-inner">
|
||||||
<div>
|
{%- assign currentYear = 'now' | date: "%Y" -%}
|
||||||
{%- assign currYear = 'now' | date: "%Y" -%}
|
{%- assign copyright = site.copyright
|
||||||
{{ site.copyright
|
| replace: '{currentYear}', currentYear
|
||||||
| replace: '{currentYear}', currYear
|
|
||||||
| replace: '{author}', site.author
|
| replace: '{author}', site.author
|
||||||
| replace: '(c)', '©'
|
| replace: '(c)', '©'
|
||||||
| replace: '(p)', '℗'
|
| replace: '(p)', '℗'
|
||||||
| replace: '(cleft)', '<span class="copyleft">©</span>'
|
| replace: '(cleft)', '<span class="copyleft">©</span>'
|
||||||
}}</div>
|
-%}
|
||||||
|
<div>{{ copyright }}</div>
|
||||||
<div>Powered by <a title="Jekyll is a simple, blog-aware, static site
|
<div>Powered by <a title="Jekyll is a simple, blog-aware, static site
|
||||||
generator." href="http://jekyllrb.com/">Jekyll</a> & <a title="Yat, yet
|
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>
|
another theme." href="https://github.com/jeffreytse/jekyll-theme-yat">Yat Theme</a>.</div>
|
||||||
|
|
Loading…
Reference in a new issue