hugo-next / hugo-theme-next

Easily & powerful theme for Hugo engine.
https://hugo-next.eu.org
MIT License
214 stars 38 forks source link

livereload.js 在disable livere的情况下不应加载 #40

Closed finisky closed 2 years ago

finisky commented 2 years ago

请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。 (Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate.)

问题自检列表 (Issue Checklist)

请确认如下情况已检查,并将 [ ] 换成 [x] 来选择 (Change [ ] to [x] to selected which your could make sure)


预期行为 (Expected behavior)

请描述你想实现的预期效果 (Please describe the expected behavior what you want) 去掉不必要的livre script

实际行为 (Actual behavior)

生成的网站中包括livre头:

  | -- | --   |   |     |   |

请同时提供网站链接、屏幕截图和源码地址 (Please provide your site links, screenshots and code repository)

问题重现步骤 (Steps to reproduce the behavior)

config.yaml中已disable livere,没有相关配置enable

grep了整个repo,并未发现相关js的存在。可能是:./assets/js/third-party/comments/livere.js

环境信息 (Environment Information)

主题配置(Configuration)

提供主题 config.yaml 中修改过的部分内容 (Paste ONLY CHANGED CONFIGURATION from config.yaml)

active: waline
storage: false

其他有用信息 (Other Information)

例如:操作系统、浏览器等 (e.g. Browser, System)

elkan1788 commented 2 years ago

哈哈,这里不是:bug:,是Hugo本地调试时的热加载功能,与 livere 评论组件没有关系

finisky commented 2 years ago

原来如此,那这个issue close吧