mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-10-31 17:21:15 +08:00 
			
		
		
		
	Update 4 files
- /_layouts/default.html - /_layouts/post.html - /index.html - /assets/css/style.scss
This commit is contained in:
		
							parent
							
								
									1f5ef5079c
								
							
						
					
					
						commit
						2f59a946db
					
				|  | @ -18,6 +18,7 @@ | ||||||
|     <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> |     <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> | ||||||
|     <![endif]--> |     <![endif]--> | ||||||
| 
 | 
 | ||||||
|  |   <!--[if !IE]> --> | ||||||
|   {% if site.google_analytics %} |   {% if site.google_analytics %} | ||||||
|   <!-- Global site tag (gtag.js) - Google Analytics --> |   <!-- Global site tag (gtag.js) - Google Analytics --> | ||||||
|   <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script> |   <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script> | ||||||
|  | @ -51,6 +52,7 @@ | ||||||
|     } |     } | ||||||
|   </script> |   </script> | ||||||
|   <script src="/assets/js/instant.page.js" type="module"></script> |   <script src="/assets/js/instant.page.js" type="module"></script> | ||||||
|  |   <!-- <![endif]--> | ||||||
| </head> | </head> | ||||||
| 
 | 
 | ||||||
| <body> | <body> | ||||||
|  | @ -135,11 +137,10 @@ | ||||||
|   </div> |   </div> | ||||||
|   <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script> |   <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script> | ||||||
| 
 | 
 | ||||||
|   <script src="/assets/js/main.js"></script> |  | ||||||
|   <!--[if !IE]> --> |   <!--[if !IE]> --> | ||||||
|  |   <script src="/assets/js/main.js"></script> | ||||||
|   <script src="/Live2dHistoire/live2d/js/live2d.js"></script> |   <script src="/Live2dHistoire/live2d/js/live2d.js"></script> | ||||||
|   <script src="/Live2dHistoire/live2d/js/message.js"></script> |   <script src="/Live2dHistoire/live2d/js/message.js"></script> | ||||||
| 
 |  | ||||||
|   <!-- <![endif]--> |   <!-- <![endif]--> | ||||||
| </body> | </body> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -82,12 +82,12 @@ layout: default | ||||||
| {% endif %} | {% endif %} | ||||||
| <br /> | <br /> | ||||||
| <br /> | <br /> | ||||||
|  | <!--[if !IE]> --> | ||||||
| <p id="suggest-container"></p> | <p id="suggest-container"></p> | ||||||
| <script> | <script> | ||||||
| var blogurl = "{{ page.url }}"; |  | ||||||
| var suggest = $("#suggest-container")[0]; | var suggest = $("#suggest-container")[0]; | ||||||
| suggest.innerHTML = "Loading..."; | suggest.innerHTML = "Loading..."; | ||||||
| $.get(BlogAPI + "/suggest?id=" + blogurl + "&update=" + lastUpdated.valueOf(), function (data) { | $.get(BlogAPI + "/suggest?id={{ page.url }}&update=" + lastUpdated.valueOf(), function (data) { | ||||||
|     if (data.length) { |     if (data.length) { | ||||||
|         getSearchJSON(function (search) { |         getSearchJSON(function (search) { | ||||||
|             suggest.innerHTML = '<b>推荐文章</b><hr style="margin: 0 0 5px"/>'; |             suggest.innerHTML = '<b>推荐文章</b><hr style="margin: 0 0 5px"/>'; | ||||||
|  | @ -107,6 +107,7 @@ $.get(BlogAPI + "/suggest?id=" + blogurl + "&update=" + lastUpdated.valueOf(), f | ||||||
|     } |     } | ||||||
| }); | }); | ||||||
| </script> | </script> | ||||||
|  | <!-- <![endif]--> | ||||||
| <div class="pagination"> | <div class="pagination"> | ||||||
|   {% if page.previous.url %} |   {% if page.previous.url %} | ||||||
|   <span class="prev"> |   <span class="prev"> | ||||||
|  |  | ||||||
|  | @ -99,4 +99,12 @@ div.highlight button:active, | ||||||
| div.highlight button:focus, | div.highlight button:focus, | ||||||
| div.highlight button:hover { | div.highlight button:hover { | ||||||
|     opacity: 1 |     opacity: 1 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .footnotes { | ||||||
|  |     font-size: 14px; | ||||||
|  |     line-height: 1.4; | ||||||
|  | } | ||||||
|  | .footnotes p { | ||||||
|  |     margin: 0; | ||||||
| } | } | ||||||
|  | @ -8,15 +8,15 @@ title: 首页 - 我的文章 | ||||||
| <hr /> | <hr /> | ||||||
| 
 | 
 | ||||||
| <!-- 遍历分页后的文章 --> | <!-- 遍历分页后的文章 --> | ||||||
| <table> | <table {% if paginator.previous_page == 1 %}class="hslice"{% endif %}> | ||||||
| {% for post in paginator.posts %} | {% for post in paginator.posts %} | ||||||
|   <tr><td onclick="location='{{ post.url }}'"> |   <tr><td onclick="location='{{ post.url }}'"> | ||||||
|     <h2><a class="post-link" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2> |     <h2 class="entry-title"><a class="post-link" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2> | ||||||
|   <p class="author"> |   <p class="author"> | ||||||
|     <span class="date">{{ post.date | date: "%-d %B %Y" }}</span> |     <span class="date">{{ post.date | date: "%-d %B %Y" }}</span> | ||||||
|     | Hits: <span id="{{ post.url }}" class="visitors-index" >Loading...</span> |     | Hits: <span id="{{ post.url }}" class="visitors-index" >Loading...</span> | ||||||
|   </p> |   </p> | ||||||
|   <div class="content"> |   <div class="content entry-content"> | ||||||
|     {{ post.excerpt | strip_html | strip_newlines }}  |     {{ post.excerpt | strip_html | strip_newlines }}  | ||||||
|   </div> |   </div> | ||||||
|   {% if post.tags %} |   {% if post.tags %} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 mayx
						mayx