File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ async function loadPosts() {
3838 for ( const filename of postFiles ) {
3939 try {
4040 // Use absolute path from root for GitHub Pages compatibility
41- const response = await fetch ( `/aigc /posts/${ filename } .md` ) ;
41+ const response = await fetch ( `. /posts/${ filename } .md` ) ;
4242 if ( ! response . ok ) continue ;
4343
4444 const content = await response . text ( ) ;
@@ -144,7 +144,7 @@ document.addEventListener('DOMContentLoaded', async () => {
144144
145145 if ( allPosts . length === 0 ) {
146146 const loadingEl = document . getElementById ( 'loading' ) ;
147- loadingEl . innerText = 'No posts found. Create markdown files in ./posts/ directory. ' ;
147+ loadingEl . innerText = 'No posts found.' ;
148148 loadingEl . classList . remove ( 'hidden' ) ;
149149 return ;
150150 }
You can’t perform that action at this time.
0 commit comments