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"
|
color: "#ff0000"
|
||||||
|
|
||||||
# If not defined, `author` from Hexo `_config.yml` will be used.
|
# If not defined, `author` from Hexo `_config.yml` will be used.
|
||||||
|
# Set to `false` to disable the copyright statement.
|
||||||
copyright:
|
copyright:
|
||||||
|
|
||||||
# Powered by Hexo & NexT
|
# Powered by Hexo & NexT
|
||||||
@ -874,7 +875,7 @@ local_search:
|
|||||||
# Firstly, you need to enable and configure the chat service.
|
# Firstly, you need to enable and configure the chat service.
|
||||||
chat:
|
chat:
|
||||||
enable: false
|
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.
|
# Chatra is a functional, easy to use piece of chat software for websites.
|
||||||
# For more information: https://chatra.com
|
# For more information: https://chatra.com
|
||||||
|
|||||||
@ -10,7 +10,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
<div class="copyright">
|
{%- if theme.footer.copyright !== false %}
|
||||||
|
<div class="copyright">
|
||||||
{%- set copyright_year = date(null, 'YYYY') %}
|
{%- set copyright_year = date(null, 'YYYY') %}
|
||||||
© {% if theme.footer.since and theme.footer.since != copyright_year %}{{ theme.footer.since }} – {% endif %}
|
© {% if theme.footer.since and theme.footer.since != copyright_year %}{{ theme.footer.since }} – {% endif %}
|
||||||
<span itemprop="copyrightYear">{{ copyright_year }}</span>
|
<span itemprop="copyrightYear">{{ copyright_year }}</span>
|
||||||
@ -18,7 +19,8 @@
|
|||||||
<i class="{{ theme.footer.icon.name }}"></i>
|
<i class="{{ theme.footer.icon.name }}"></i>
|
||||||
</span>
|
</span>
|
||||||
<span class="author" itemprop="copyrightHolder">{{ theme.footer.copyright or author }}</span>
|
<span class="author" itemprop="copyrightHolder">{{ theme.footer.copyright or author }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
{%- if config.symbols_count_time.total_symbols or config.symbols_count_time.total_time %}
|
{%- if config.symbols_count_time.total_symbols or config.symbols_count_time.total_time %}
|
||||||
<div class="wordcount">
|
<div class="wordcount">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user