@@ -56,6 +56,21 @@ const config: Config = {
5656 onInlineTags : 'warn' ,
5757 onInlineAuthors : 'warn' ,
5858 onUntruncatedBlogPosts : 'warn' ,
59+ // Use short titles in blog sidebar
60+ blogSidebarTitle : 'Recent Posts' ,
61+ blogSidebarCount : 10 ,
62+ blogTitle : 'MyCoder Blog' ,
63+ postsPerPage : 5 ,
64+ blogListComponent : '@theme/BlogListPage' ,
65+ blogPostComponent : '@theme/BlogPostPage' ,
66+ blogTagsListComponent : '@theme/BlogTagsListPage' ,
67+ blogTagsPostsComponent : '@theme/BlogTagsPostsPage' ,
68+ rehypePlugins : [ ] ,
69+ beforeDefaultRemarkPlugins : [ ] ,
70+ beforeDefaultRehypePlugins : [ ] ,
71+ truncateMarker : / < ! - - t r u n c a t e - - > / ,
72+ // Add custom transform function to use shortTitle if available
73+ blogSidebarItemComponent : require . resolve ( './src/components/BlogSidebarItem' ) ,
5974 } ,
6075 theme : {
6176 customCss : './src/css/custom.css' ,
@@ -122,7 +137,7 @@ const config: Config = {
122137 href : 'https://discord.gg/5K6TYrHGHt' ,
123138 } ,
124139 {
125- label : 'Twitter' ,
140+ label : 'X ( Twitter) ' ,
126141 href : 'https://twitter.com/mycoderAI' ,
127142 } ,
128143 ] ,
@@ -145,7 +160,7 @@ const config: Config = {
145160 ] ,
146161 } ,
147162 ] ,
148- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } DriveCore, Inc. Built with Docusaurus.` ,
163+ copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } <a href="https://drivecore.ai"> DriveCore, Inc.</a> Built with Docusaurus.` ,
149164 } ,
150165 prism : {
151166 theme : prismThemes . github ,
0 commit comments