mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Allow disabling the copyright statement
This commit is contained in:
parent
824885ed0a
commit
72302c2e4d
@ -215,6 +215,7 @@ footer:
|
||||
color: "#ff0000"
|
||||
|
||||
# If not defined, `author` from Hexo `_config.yml` will be used.
|
||||
# Set to `false` to disable the copyright statement.
|
||||
copyright:
|
||||
|
||||
# Powered by Hexo & NexT
|
||||
@ -874,7 +875,7 @@ local_search:
|
||||
# Firstly, you need to enable and configure the chat service.
|
||||
chat:
|
||||
enable: false
|
||||
icon: fa fa-comment # Icon name in Font Awesome, set false to disable icon.
|
||||
icon: fa fa-comment # Icon name in Font Awesome, set to `false` to disable icon.
|
||||
|
||||
# Chatra is a functional, easy to use piece of chat software for websites.
|
||||
# For more information: https://chatra.com
|
||||
|
||||
@ -10,15 +10,17 @@
|
||||
</div>
|
||||
{%- endif %}
|
||||
|
||||
<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>
|
||||
{%- 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">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user