Closed JoeyBling closed 5 years ago
I noticed this issue before, though I couldn't reproduce it reliably
Can you attach your package.json
and _config.yml
(let me know if they're private)? It may be caused by plugins.
@curbengh Thank you for your reply
I use the official default theme landscape
,the problem can also occur!
The other configurations were left untouched.
version 3.9.0
@curbengh At the beginning I also thought the theme plug-in problem, later I directly use the 'hexo init' command to initialize a new project will also appear this problem
I can reproduce the issue, but not in local testing after modify something. Annoyingly, I can't remember the changes I made.
I'll do more testing.
@curbengh I've debugging, and find there's something wrong with this pull request
When I delete that file, the problem won't appear
lib/plugins/filter/meta_generator.js
But I don't know if there will be any other problems later, so I would like to ask for your help. Thank you
Somehow in my cause the issue goes away even with "meta_generator.js". Can you try this modified landscape theme?
@curbengh I don't think it's about the subject. I'll try first
@curbengh Sorry, I take back what I said just now, this modified theme is actually ok, But the question is what? I don't know
I use the theme yilia-plus
@JoeyBling @curbengh My understanding is that this issue has already been solved https://github.com/hexojs/hexo-theme-landscape/pull/123
@YoshinoriN Thank you very much. You solved my problem perfectly. I fixed my theme according to this bug
And I have another question, how to remove the meta tag generator
property generated
<meta name="generator" content="Hexo 3.9.0">
And I have another question, how to remove the meta tag
generator
property generated
currently, there is no option to disable it. I could add the option.
@curbengh I think your can add this and look forward to fix it in the next release
When I execute
hexo s-g
orhexo g
The generated HTML tag does not end properly,But it doesn't affect browser rendering The version I used3.9.0
But I didn't have this problem with version3.7.1
I use the theme yilia-plus I've tried this with the official default theme,But problems remain How can i debug or fix it ?