summaryrefslogtreecommitdiff
path: root/_includes/views
diff options
context:
space:
mode:
Diffstat (limited to '_includes/views')
-rw-r--r--_includes/views/footer.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/_includes/views/footer.html b/_includes/views/footer.html
index 86650e1..78f2f6d 100644
--- a/_includes/views/footer.html
+++ b/_includes/views/footer.html
@@ -3,7 +3,15 @@
<div class="wrapper">
<div class="site-footer-inner">
- <div>{{ site.copyright }} {% if site.author %}@{{ site.author | escape }}{% endif %}</div>
+ <div>
+ {%- assign currYear = 'now' | date: "%Y" -%}
+ {{ site.copyright
+ | replace: '{currentYear}', currYear
+ | replace: '{author}', site.author
+ | replace: '(c)', '&copy;'
+ | replace: '(p)', '℗'
+ | replace: '(cleft)', '<span class="copyleft">&copy;</span>'
+ }}</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>