This is an automated email from the ASF dual-hosted git repository.

xiaoyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 67fcf7f073 Bugfix: link false (#630)
67fcf7f073 is described below

commit 67fcf7f073f2a787125d4406975f469e96139ce4
Author: gouzixing <[email protected]>
AuthorDate: Sat Jul 9 15:04:10 2022 +0800

    Bugfix: link false (#630)
    
    * newsPage
    
    * news page
    
    * bugfix
    
    * news page update
    
    * bugfix --path bug
    
    * conflict
    
    * conflict
    
    * img update
    
    * blog page refractor
    
    * blog page new style
    
    * delete annotate
    
    * index page highlight for slogon
    
    * bugfix:document for node
    
    * bugfix--link false
---
 src/pages/blog.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pages/blog.tsx b/src/pages/blog.tsx
index 4202ed2080..1a2174aebb 100644
--- a/src/pages/blog.tsx
+++ b/src/pages/blog.tsx
@@ -37,10 +37,10 @@ function Blog() {
                                             return (
                                                 <div className={styles.card} 
key={key}>
                                                     {/* <img 
className={styles.cardImage} src={post.cover}  width='200' height={140}></img> 
*/}
-                                                    <div 
className={styles.postTitle} onClick={() => window.location.href = 
"http://localhost:3000/blog/"; + post.src}>{post.title}</div>
+                                                    <div 
className={styles.postTitle} onClick={() => window.location.href = 
"https://shenyu.apache.org/blog/"; + post.src}>{post.title}</div>
                                                     <div 
className={styles.author}> {post.author}   &ensp; &ensp;     {post.date} </div>
                                                     <div 
className={styles.postAbs}>{post.abs}</div>
-                                                    <div 
className={styles.read} onClick={() => window.location.href = 
"http://localhost:3000/blog/"; + post.src}> Read More </div>
+                                                    <div 
className={styles.read} onClick={() => window.location.href = 
"https://shenyu.apache.org/blog/"; + post.src}> Read More </div>
                                                 </div>
                                             )
                                         })}

Reply via email to