docs: update topic to avoid displaying issue #772
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: #771
Changes:
Currently, the website displays two identical articles on the first page of blog.
After some researching and testing, I find the cause of this problem. While it is completely fine to post multiple articles in the same date directory, the
title
of articles under the same directory must be identical and unique.In other words, when adding two or more articles in the same date directory, you need to make sure each article's
title
must be different.This problem is caused by two articles with the same
title
.After updating the title of an article, then
yarn start
run it locally, it works out fine.In addition, I also checked the files in
apisix-website/website/i18n/zh/docusaurus-plugin-content-blog/2021/11/23/
directory and run it locally. It works fine, so there is no need to modify files in this directory.For future changes, if you are adding two or more articles in the same date directory, please make sure they have different
title
. Useyarn start
to run it locally before submission is also suggested.