mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-11-04 10:32:25 +08:00 
			
		
		
		
	Update 3 files
- /js/main.js - /_layouts/post.html - /search.json
This commit is contained in:
		
							
								
								
									
										13
									
								
								search.json
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								search.json
									
									
									
									
									
								
							@@ -1,14 +1,3 @@
 | 
			
		||||
---
 | 
			
		||||
---
 | 
			
		||||
[
 | 
			
		||||
  {% for post in site.posts %}{% unless post.layout == "encrypt" %}
 | 
			
		||||
    {
 | 
			
		||||
      "title"    : "{{ post.title | escape }}",
 | 
			
		||||
      "category" : "{{ post.category }}",
 | 
			
		||||
      "tags"     : "{{ post.tags | join: ', ' }}",
 | 
			
		||||
      "url"      : "{{ site.baseurl }}{{ post.url }}",
 | 
			
		||||
      "date"     : "{{ post.date | date: "%Y/%m/%d" }}",
 | 
			
		||||
      "content": {{ post.content | strip_html | strip_newlines | jsonify }}
 | 
			
		||||
    }{% unless forloop.last %},{% endunless %}{% endunless %}
 | 
			
		||||
  {% endfor %}
 | 
			
		||||
]
 | 
			
		||||
[{% for post in site.posts %}{% unless post.layout == "encrypt" %}{ "title": "{{ post.title | escape }}", "category": "{{ post.category }}", "tags": "{{ post.tags | join: ', ' }}", "url": "{{ site.baseurl }}{{ post.url }}", "date": "{{ post.date | date: "%Y/%m/%d" }}", "content": {{ post.content | strip_html | strip_newlines | jsonify }} }{% unless forloop.last %},{% endunless %}{% endunless %}{% endfor %}]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user