48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
|
<div class="copyright">{#
|
||
|
#}{% set current = date(Date.now(), "YYYY") %}{#
|
||
|
#}© {% if theme.footer.since and theme.footer.since != current %}{{ theme.footer.since }} — {% endif %}{#
|
||
|
#}<span itemprop="copyrightYear">{{ current }}</span>
|
||
|
<span class="with-love">
|
||
|
<i class="fa fa-{{ theme.footer.icon }}"></i>
|
||
|
</span>
|
||
|
<span class="author" itemprop="copyrightHolder">{{ theme.footer.copyright || config.author }}</span>
|
||
|
|
||
|
{% if theme.post_wordcount.totalcount %}
|
||
|
<span class="post-meta-divider">|</span>
|
||
|
<span class="post-meta-item-icon">
|
||
|
<i class="fa fa-area-chart"></i>
|
||
|
</span>
|
||
|
{% if theme.post_wordcount.item_text %}
|
||
|
<span class="post-meta-item-text">{{ __('post.totalcount') }}:</span>
|
||
|
{% endif %}
|
||
|
<span title="{{ __('post.totalcount') }}">{#
|
||
|
#}{{ totalcount(site, '0,0.0a') }}{#
|
||
|
#}</span>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
|
||
|
{% if theme.footer.powered %}
|
||
|
<div class="powered-by">{#
|
||
|
#}{{ __('footer.powered', '<a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a>') }}{#
|
||
|
#}</div>
|
||
|
{% endif %}
|
||
|
|
||
|
{% if theme.footer.powered and theme.footer.theme.enable %}
|
||
|
<span class="post-meta-divider">|</span>
|
||
|
{% endif %}
|
||
|
|
||
|
{% if theme.footer.theme.enable %}
|
||
|
<div class="theme-info">{#
|
||
|
#}{{ __('footer.theme') }} — {#
|
||
|
#}<a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">{#
|
||
|
#}NexT.{{ theme.scheme }}{#
|
||
|
#}</a>{% if theme.footer.theme.version %} v{{ theme.version }}{% endif %}{#
|
||
|
#}</div>
|
||
|
{% endif %}
|
||
|
|
||
|
{% if theme.footer.custom_text %}
|
||
|
<div class="footer-custom">{#
|
||
|
#}{{ theme.footer.custom_text }}{#
|
||
|
#}</div>
|
||
|
{% endif %}
|