diff --git a/package.json b/package.json index 856f524..5532661 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "clean": "hexo clean", "deploy": "hexo deploy", "release": "hexo clean && hexo generate && hexo deploy", - "server": "hexo server" + "server": "hexo clean && hexo generate && hexo server" }, "hexo": { "version": "6.1.0" diff --git a/themes/next/_config.yml b/themes/next/_config.yml index ce1840b..cec28d8 100644 --- a/themes/next/_config.yml +++ b/themes/next/_config.yml @@ -71,14 +71,14 @@ footer: # Beian ICP and gongan information for Chinese users. See: https://beian.miit.gov.cn, http://www.beian.gov.cn beian: - enable: false - icp: + enable: true + icp: 豫ICP备19045614号-2 # The digit in the num of gongan beian. gongan_id: # The full num of gongan beian. gongan_num: # The icon for gongan beian. See: http://www.beian.gov.cn/portal/download - gongan_icon_url: + gongan_icon_url: http://www.beian.gov.cn/img/new/gongan.png # Creative Commons 4.0 International License. # See: https://creativecommons.org/share-your-work/licensing-types-examples @@ -128,7 +128,7 @@ menu: # Enable / Disable menu icons / item badges. menu_settings: icons: true - badges: false + badges: true # --------------------------------------------------------------- @@ -138,8 +138,8 @@ menu_settings: sidebar: # Sidebar Position. - position: left - #position: right +# position: left + position: right # Manual define the sidebar width. If commented, will be default for: # Muse | Mist: 320 @@ -250,9 +250,10 @@ post_meta: # Post wordcount display settings # Dependencies: https://github.com/theme-next/hexo-symbols-count-time symbols_count_time: + total_symbols: true separated_meta: true item_text_post: true - item_text_total: false + item_text_total: true # Use icon instead of the symbol # to indicate the tag at the bottom of the post diff --git a/themes/next/layout/_partials/footer.swig b/themes/next/layout/_partials/footer.swig index c71bc5a..02292fd 100644 --- a/themes/next/layout/_partials/footer.swig +++ b/themes/next/layout/_partials/footer.swig @@ -1,5 +1,5 @@ {%- if theme.footer.beian.enable %} -