#footer-wrap if theme.footer.socialBar.enable - let centerImg = theme.footer.socialBar.centerImg ? theme.footer.socialBar.centerImg : theme.avatar.img - let leftInfo = theme.footer.socialBar.left - let rightInfo = theme.footer.socialBar.right #footer_deal each item, index in leftInfo a.deal_link(href=url_for(item.link) title=item.title) if (item.icon.startsWith("fa")) i(class=`${item.icon}`) else if (item.icon.startsWith("icon")) svg.icon(aria-hidden="true") use(xlink:href=`#`+ item.icon) else if (item.icon.startsWith("anzhiyu")) i.anzhiyufont(class=`${item.icon}`) img.footer_mini_logo(title="返回顶部", alt="返回顶部" onclick="anzhiyu.scrollToDest(0, 500)", src=centerImg, size="50px") each item, index in rightInfo a.deal_link(href=url_for(item.link) title=item.title) if (item.icon.startsWith("fa")) i(class=`${item.icon}`) else if (item.icon.startsWith("icon")) svg.icon(aria-hidden="true") use(xlink:href=`#`+ item.icon) else if (item.icon.startsWith("anzhiyu")) i.anzhiyufont(class=`${item.icon}`) if theme.footer.owner.enable && !theme.footer.footerBar.enable - var nowYear = new Date().getFullYear() if theme.footer.owner.since && theme.footer.owner.since != nowYear .copyright!= `©${theme.footer.owner.since} - ${nowYear} By ${config.author}` else .copyright!= `©${nowYear} By ${config.author}` - let work_img = theme.footer.runtime.work_img - let work_description = theme.footer.runtime.work_description if theme.footer.runtime.enable #workboard if work_img != null img(src=`${work_img}`, alt=`${work_description}`, title=`${work_description}`, class="workSituationImg boardsign") #runtimeTextTip if theme.footer.custom_text .footer_custom_text!=`${theme.footer.custom_text}` if theme.footer.list.enable - let projectList = theme.footer.list.project #anzhiyu-footer each item, index in projectList .footer-group .footer-title=item.title .footer-links each iten, indey in item.links a.footer-item(title=iten.title href=url_for(iten.link))=iten.title if theme.footer.list.randomFriends > 0 .footer-group .footer-title-group .footer-title 友链 a.random-friends-btn#footer-random-friends-btn(href="javascript:addFriendLinksInFooter();" title="换一批友情链接") i.anzhiyufont.anzhiyu-icon-arrow-rotate-right .footer-links#friend-links-in-footer if theme.footer.bdageitem.enable p#ghbdages each item in theme.footer.bdageitem.list a.github-badge(target='_blank' href=item.link style='margin-inline:5px' data-title=item.message title=item.message) img(src=item.shields alt=item.message) if theme.footer.footerBar && theme.footer.footerBar.enable #footer-bar .footer-bar-links .footer-bar-left #footer-bar-tips if theme.footer.owner.enable - var nowYear = new Date().getFullYear() - let authorLink = theme.footer.footerBar.authorLink ? theme.footer.footerBar.authorLink : config.url if theme.footer.owner.since && theme.footer.owner.since != nowYear .copyright!= `©${theme.footer.owner.since} - ${nowYear} By ` a.footer-bar-link(href=url_for(authorLink) title=config.author target="_blank")=config.author else .copyright!= `©${nowYear} By ` a.footer-bar-link(href=url_for(authorLink) title=config.author target="_blank")=config.author #footer-type-tips if theme.footer.footerBar && theme.footer.footerBar.subTitle && theme.footer.footerBar.subTitle.enable .js-pjax include ./third-party/footerBarSubtitle.pug .footer-bar-right each item in theme.footer.footerBar.linkList a.footer-bar-link(href=url_for(item.link) title=item.text)=item.text if theme.footer.footerBar.cc.enable a.footer-bar-link.cc(href=url_for(theme.footer.footerBar.cc.link) title="cc协议") i.anzhiyufont.anzhiyu-icon-copyright-line i.anzhiyufont.anzhiyu-icon-creative-commons-by-line i.anzhiyufont.anzhiyu-icon-creative-commons-nc-line i.anzhiyufont.anzhiyu-icon-creative-commons-nd-line