@@ -22,6 +22,16 @@ fs.copyFileSync('src/partials/subpage.css', 'dist/subpage.css');
2222// Copy social share image
2323fs . copyFileSync ( '../Graphics/social.png' , 'dist/social.png' ) ;
2424
25+ // Copy showcase images
26+ if ( ! fs . existsSync ( 'dist/img' ) ) {
27+ fs . mkdirSync ( 'dist/img' , { recursive : true } ) ;
28+ }
29+ if ( fs . existsSync ( 'src/img' ) ) {
30+ fs . readdirSync ( 'src/img' ) . forEach ( file => {
31+ fs . copyFileSync ( `src/img/${ file } ` , `dist/img/${ file } ` ) ;
32+ } ) ;
33+ }
34+
2535// Process HTML file with partial injection
2636function processHtmlFile ( srcPath , destPath , basePath = '' ) {
2737 if ( ! fs . existsSync ( srcPath ) ) return ;
@@ -72,7 +82,7 @@ function processHtmlFile(srcPath, destPath, basePath = '') {
7282}
7383
7484// Process main HTML files (at root level)
75- const mainHtmlFiles = [ 'index.html' , 'fdd.html' , 'docs.html' , 'getting-started.html' , 'disclaimer.html' , 'tutorial.html' , 'download.html' , 'imprint.html' ] ;
85+ const mainHtmlFiles = [ 'index.html' , 'fdd.html' , 'docs.html' , 'getting-started.html' , 'disclaimer.html' , 'tutorial.html' , 'showcase.html' , ' download.html', 'imprint.html' ] ;
7686mainHtmlFiles . forEach ( file => {
7787 processHtmlFile ( `src/${ file } ` , `dist/${ file } ` , '' ) ;
7888} ) ;
0 commit comments