mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-11-04 14:04:35 +00:00 
			
		
		
		
	Update file post.html
This commit is contained in:
		@@ -40,7 +40,8 @@ layout: default
 | 
				
			|||||||
      .join(""); // convert bytes to hex string
 | 
					      .join(""); // convert bytes to hex string
 | 
				
			||||||
    return hashHex;
 | 
					    return hashHex;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  var postContent = "文章标题:" + {{ page.title | jsonify }} +",文章内容:" + {{ page.content | strip_html | strip_newlines | jsonify }};
 | 
					  async function ai_gen(){
 | 
				
			||||||
 | 
					    var postContent = "文章标题:" + {{ page.title | jsonify }} + ";文章内容:" + {{ page.content | strip_html | strip_newlines | jsonify }};
 | 
				
			||||||
    var postContentSign = await sha(postContent);
 | 
					    var postContentSign = await sha(postContent);
 | 
				
			||||||
    var outputContainer = document.getElementById("ai-output");
 | 
					    var outputContainer = document.getElementById("ai-output");
 | 
				
			||||||
    $.get("https://summary.mayx.eu.org/is_uploaded?id={{ page.url }}&sign=" + postContentSign, function (data) {
 | 
					    $.get("https://summary.mayx.eu.org/is_uploaded?id={{ page.url }}&sign=" + postContentSign, function (data) {
 | 
				
			||||||
@@ -65,6 +66,8 @@ layout: default
 | 
				
			|||||||
        });
 | 
					        });
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  ai_gen();
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
<hr />
 | 
					<hr />
 | 
				
			||||||
<!-- <![endif]-->
 | 
					<!-- <![endif]-->
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user