87 lines
3.4 KiB
Plaintext
87 lines
3.4 KiB
Plaintext
{%- if theme.footer.beian.enable %}
|
||
<div class="beian">
|
||
{{- next_url('https://beian.miit.gov.cn', theme.footer.beian.icp + ' ') }}
|
||
{%- if theme.footer.beian.gongan_icon_url %}
|
||
<img src="{{ url_for(theme.footer.beian.gongan_icon_url) }}" alt="">
|
||
{%- endif %}
|
||
{%- if theme.footer.beian.gongan_id and theme.footer.beian.gongan_num %}
|
||
{{- next_url('https://beian.mps.gov.cn/#/query/webSearch?code=' + theme.footer.beian.gongan_id, theme.footer.beian.gongan_num + ' ') }}
|
||
{%- endif %}
|
||
</div>
|
||
{%- endif %}
|
||
|
||
{%- if theme.footer.copyright !== false %}
|
||
<div class="copyright">
|
||
{%- set copyright_year = date(null, 'YYYY') %}
|
||
© {% if theme.footer.since and theme.footer.since != copyright_year %}{{ theme.footer.since }} – {% endif %}
|
||
<span itemprop="copyrightYear">{{ copyright_year }}</span>
|
||
<span class="with-love">
|
||
<i class="{{ theme.footer.icon.name }}"></i>
|
||
</span>
|
||
<span class="author" itemprop="copyrightHolder">{{ theme.footer.copyright or author }}</span>
|
||
</div>
|
||
{%- endif %}
|
||
|
||
{%- if config.symbols_count_time.total_symbols or config.symbols_count_time.total_time %}
|
||
<div class="wordcount">
|
||
{%- if config.symbols_count_time.total_symbols %}
|
||
<span class="post-meta-item">
|
||
<span class="post-meta-item-icon">
|
||
<i class="fa fa-chart-line"></i>
|
||
</span>
|
||
{%- if theme.symbols_count_time.item_text_total %}
|
||
<span>{{ __('symbols_count_time.count_total') + __('symbol.colon') }}</span>
|
||
{%- endif %}
|
||
<span title="{{ __('symbols_count_time.count_total') }}">{{ symbolsCountTotal(site) }}</span>
|
||
</span>
|
||
{%- endif %}
|
||
|
||
{%- if config.symbols_count_time.total_time %}
|
||
<span class="post-meta-item">
|
||
<span class="post-meta-item-icon">
|
||
<i class="fa fa-coffee"></i>
|
||
</span>
|
||
{%- if theme.symbols_count_time.item_text_total %}
|
||
<span>{{ __('symbols_count_time.time_total') }} ≈</span>
|
||
{%- endif %}
|
||
<span title="{{ __('symbols_count_time.time_total') }}">{{ symbolsTimeTotal(site, config.symbols_count_time.awl, config.symbols_count_time.wpm, __('symbols_count_time.time_minutes')) }}</span>
|
||
</span>
|
||
{%- endif %}
|
||
</div>
|
||
{%- endif %}
|
||
|
||
{%- if theme.busuanzi_count.enable %}
|
||
<div class="busuanzi-count">
|
||
{%- if theme.busuanzi_count.total_visitors %}
|
||
<span class="post-meta-item" id="busuanzi_container_site_uv">
|
||
<span class="post-meta-item-icon">
|
||
<i class="{{ theme.busuanzi_count.total_visitors_icon }}"></i>
|
||
</span>
|
||
<span class="site-uv" title="{{ __('footer.total_visitors') }}">
|
||
<span id="busuanzi_value_site_uv"></span>
|
||
</span>
|
||
</span>
|
||
{%- endif %}
|
||
|
||
{%- if theme.busuanzi_count.total_views %}
|
||
<span class="post-meta-item" id="busuanzi_container_site_pv">
|
||
<span class="post-meta-item-icon">
|
||
<i class="{{ theme.busuanzi_count.total_views_icon }}"></i>
|
||
</span>
|
||
<span class="site-pv" title="{{ __('footer.total_views') }}">
|
||
<span id="busuanzi_value_site_pv"></span>
|
||
</span>
|
||
</span>
|
||
{%- endif %}
|
||
</div>
|
||
{%- endif %}
|
||
|
||
{%- if theme.footer.powered %}
|
||
<div class="powered-by">
|
||
{%- set next_site = 'https://theme-next.js.org' if theme.scheme === 'Gemini' else 'https://theme-next.js.org/' + theme.scheme | lower + '/' %}
|
||
{{- __('footer.powered', next_url('https://hexo.io', 'Hexo') + ' & ' + next_url(next_site, 'NexT.' + theme.scheme)) }}
|
||
</div>
|
||
{%- endif %}
|
||
|
||
{{- next_inject('footer') }}
|