File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src/pages/browse/publication Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const { page } = Astro.props as PageProps;
5656
5757const allPages = await getCollection (' pages' );
5858
59- console .log (' page' , page )
59+ // console.log('page', page)
6060
6161const title = page ?.frontmatter ?.title || ' Publication' ;
6262const abstract = page ?.frontmatter ?.abstract || ' ' ;
@@ -285,19 +285,13 @@ function replaceEmailsWithIcons(html: string): string {
285285const reviewsFile = downloads .find ((d : any ) => d .title === ' root/reviews.md' );
286286let reviewsContent = ' ' ;
287287
288- console .log (' Checking for reviews file...' , reviewsFile );
289- console .log (' All downloads:' , downloads .map ((d : any ) => d .title ));
290-
291288if (reviewsFile ?.url ) {
292289 try {
293- console .log (' Fetching reviews from:' , reviewsFile .url );
294290 const response = await fetch (reviewsFile .url );
295291 const reviewsMarkdown = await response .text ();
296- console .log (' Reviews markdown length:' , reviewsMarkdown .length );
297292 let renderedContent = await mystParseAndRender (reviewsMarkdown );
298293 // Replace emails with icon links
299294 reviewsContent = replaceEmailsWithIcons (renderedContent );
300- console .log (' Rendered reviews content length:' , reviewsContent .length );
301295 } catch (error ) {
302296 console .error (' Error fetching or parsing reviews:' , error );
303297 }
You can’t perform that action at this time.
0 commit comments