mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-10-31 23:06:37 +00:00 
			
		
		
		
	Update 2 files
- /_data/ai-cache.json - /_layouts/post.html
This commit is contained in:
		
							
								
								
									
										1
									
								
								_data/ai-cache.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								_data/ai-cache.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -28,7 +28,8 @@ layout: default | ||||
| {% if page.layout != "encrypt" %} | ||||
| <!--[if !IE]> --> | ||||
| <b>AI摘要</b> | ||||
| <p id="ai-output">正在生成中……</p> | ||||
| <p id="ai-output">{% assign ai_cache = site.data.ai-cache[page.url] %}{% if ai_cache %}{{ ai_cache }}{% else %}正在生成中……{% endif %}</p> | ||||
| {% unless ai_cache %} | ||||
| <script> | ||||
|   async function sha(str) { | ||||
|     const encoder = new TextEncoder(); | ||||
| @@ -69,6 +70,7 @@ layout: default | ||||
|   } | ||||
|   ai_gen(); | ||||
| </script> | ||||
| {% endunless %} | ||||
| <hr /> | ||||
| <!-- <![endif]--> | ||||
| {% endif %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 mayx
					mayx