You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The content will be automatically duplicated sheng generation, and the path is different, if you configure the url will have the same path and content of the two pages. config.yml configuration is as follows:
然后最近发现在同样的 hugo 版本下,hugo-PaperMod 主题会有这个问题,而 hugo-theme-stack 主题没有该问题。
Then I recently discovered that under the same hugo version, the hugo-PaperMod theme has this problem, but the hugo-theme-stack theme does not have this problem.
一个文件生成两个页面,并且在分类、标签和归档中重复出现。
One file generates two pages and is duplicated in categories, tags and archives.
内容会自动重复生成,且路径不同,如果配置了 url 就会有路径和内容一样的两个页面。config.yml配置如下:
The content will be automatically duplicated sheng generation, and the path is different, if you configure the url will have the same path and content of the two pages. config.yml configuration is as follows:
文件路径如下:
![image](https://private-user-images.githubusercontent.com/6513389/352797203-68ee4d18-0d48-414c-b273-4a11c8484b8b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjMwNTgsIm5iZiI6MTczOTE2Mjc1OCwicGF0aCI6Ii82NTEzMzg5LzM1Mjc5NzIwMy02OGVlNGQxOC0wZDQ4LTQxNGMtYjI3My00YTExYzg0ODRiOGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDQ0NTU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmRhNzJkY2ZjZDk2YmNhZjI1MzIyOTBhZjUwNDJhYjc2MWMyNzQxZGIyNjZkYzlmZDg0YWI3Y2Y5MWMyYzU3OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.kP4KGuUcQ3IGjKOGcgatDAdXxJCTUit5G7EU5pimLhk)
The file path is as follows:
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes
The text was updated successfully, but these errors were encountered: