-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.pug
17 lines (17 loc) · 899 Bytes
/
footer.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#footer-wrap
if theme.footer.owner.enable
- var now = new Date()
- var nowYear = now.getFullYear()
if theme.footer.owner.since && theme.footer.owner.since != nowYear
.copyright!= `<i id="copyright" class="fa fas fa-copyright"></i> ${theme.footer.owner.since} - ${nowYear + ' '} <i id="heart" class="fa fas fa-heart"></i> ${config.author}`
else
.copyright!= `<i id="copyright" class="fa fas fa-copyright"></i> ${nowYear + ' '} <i id="heart" class="fa fas fa-heart "></i> ${config.author} All Rights Reserved.`
if theme.footer.copyright
.framework-info
span= _p('footer.framework') + ' '
a(href='https://hexo.io')= 'Hexo'
span.footer-separator |
span= _p('footer.theme') + ' '
a(href='https://github.com/jerryc127/hexo-theme-butterfly')= 'Butterfly'
if theme.footer.custom_text
.footer_custom_text!=`${theme.footer.custom_text}`