b3e6ee2f69
* feat: re-format copyright message and auto increase current year * docs: add comment for copyright setting This comment is crucial, especially for newcomers. * refactor: better liquid code format Co-authored-by: jeffreytse <jeffreytse.mail@gmail.com>
21 lines
911 B
HTML
21 lines
911 B
HTML
<footer class="site-footer h-card">
|
|
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
|
|
|
<div class="wrapper">
|
|
<div class="site-footer-inner">
|
|
<div>
|
|
{%- assign currYear = 'now' | date: "%Y" -%}
|
|
{{ site.copyright
|
|
| replace: '{currentYear}', currYear
|
|
| replace: '{author}', site.author
|
|
| replace: '(c)', '©'
|
|
| replace: '(p)', '℗'
|
|
| replace: '(cleft)', '<span class="copyleft">©</span>'
|
|
}}</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>
|
|
<div class="footer-col rss-subscribe">Subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></div>
|
|
</div>
|
|
</div>
|
|
</footer>
|