Skip to content

Commit 7b65cb1

Browse files
itai-codefreshOleg Sucharevich
authored andcommitted
Add default weight to each category
1 parent 9cd2079 commit 7b65cb1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/content/more/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
+++
2-
title = "More"
3-
weight = 40
2+
title = "More..."
3+
weight = 110
44
+++
55

66

docs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ const updateCategoryFileContent = async (nestedCategory,command, existingContent
197197
title = parentdocs.subCategory;
198198
}
199199
}
200-
const headerString = `+++\ntitle = "${title}"\n+++\n\n`;
200+
const headerString = `+++\ntitle = "${title}"\nweight = 100\n+++\n\n`;
201201
finalCategoryFileString = finalCategoryFileString.replace('{{HEADER}}', headerString);
202202
if (!finalCategoryFileString) {
203203
finalCategoryFileString = headerString;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.8.20",
3+
"version": "0.8.21",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)