mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
refactor: remove unnecessary default values normalized during validation (#6864)
* refactor: remove unnecessary default values normalized during validation * more
This commit is contained in:
parent
7fc134ba0e
commit
8e934450d8
27 changed files with 146 additions and 138 deletions
|
@ -546,13 +546,11 @@ export default async function pluginContentBlog(
|
|||
const headTags: HtmlTags = [];
|
||||
|
||||
feedTypes.forEach((feedType) => {
|
||||
const feedConfig = feedsConfig[feedType] || {};
|
||||
|
||||
if (!feedsConfig) {
|
||||
return;
|
||||
}
|
||||
|
||||
const {type, path: feedConfigPath, title: feedConfigTitle} = feedConfig;
|
||||
const {
|
||||
type,
|
||||
path: feedConfigPath,
|
||||
title: feedConfigTitle,
|
||||
} = feedsConfig[feedType];
|
||||
|
||||
headTags.push({
|
||||
tagName: 'link',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue