mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-10-31 17:12:09 +08:00 
			
		
		
		
	Update 2 files
- /_layouts/post.html - /links.md
This commit is contained in:
		| @@ -103,7 +103,9 @@ $.get(BlogAPI + "/suggest?id={{ page.url }}&update=" + lastUpdated.valueOf(), fu | |||||||
|         if (item) { |         if (item) { | ||||||
|           var link = $('<a href="' + item.url + '">' + item.title + '</a>'); |           var link = $('<a href="' + item.url + '">' + item.title + '</a>'); | ||||||
|           var contentPreview = item.content.replace(/<[^>]+>/g, "").substring(0, 100); |           var contentPreview = item.content.replace(/<[^>]+>/g, "").substring(0, 100); | ||||||
|                      |           if (item.content.length > 100) { | ||||||
|  |                 contentPreview += "……"; | ||||||
|  |           } | ||||||
|           link.hover( |           link.hover( | ||||||
|             function(e) { |             function(e) { | ||||||
|               tooltip.text($(this).data('content')) |               tooltip.text($(this).data('content')) | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								links.md
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								links.md
									
									
									
									
									
								
							| @@ -29,4 +29,6 @@ tags: [links] | |||||||
| 头像:<https://avatars0.githubusercontent.com/u/17966333>    | 头像:<https://avatars0.githubusercontent.com/u/17966333>    | ||||||
| Logo:<https://mabbs.github.io/favicon.ico> | Logo:<https://mabbs.github.io/favicon.ico> | ||||||
|  |  | ||||||
|  | <!--[if !IE]> --> | ||||||
| <script src="/assets/js/rss-feed-preview.js"></script> | <script src="/assets/js/rss-feed-preview.js"></script> | ||||||
|  | <!-- <![endif]--> | ||||||
		Reference in New Issue
	
	Block a user