File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ async function build() {
181181 const mdContent = await fs . readFile ( mdPath , 'utf-8' ) ;
182182 const content = mdContent . toString ( ) ;
183183 const isDocs = mdPath . indexOf ( '/docs' ) !== - 1 ;
184- const isBlog = mdPath . indexOf ( '/blog' ) !== - 1 ;
184+ isBlog = mdPath . indexOf ( '/blog' ) !== - 1 ;
185185 let mobileDocsMenu = '' ;
186186 let mobileBlogMenu = '' ;
187187
@@ -192,10 +192,10 @@ async function build() {
192192 versionsMenu = await buildVersionMenu ( uniqueVersions , version ) ;
193193 }
194194 if ( isDocs ) {
195- mobileDocsMenu = blogMenu ;
195+ mobileDocsMenu = docsMenu ;
196196 }
197197 if ( isBlog ) {
198- mobileBlogMenu = docsMenu ;
198+ mobileBlogMenu = blogMenu ;
199199 }
200200 htmlFileName = mdPath . replace ( docsDir , '' ) . replace ( / \. m d $ / i, '.html' ) ;
201201 const htmlFilePath = path . join ( resultDir , htmlFileName ) ;
You can’t perform that action at this time.
0 commit comments