upd plg
This commit is contained in:
		
							
								
								
									
										2
									
								
								api.json
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								api.json
									
									
									
									
									
								
							@@ -31,6 +31,7 @@ layout: null
 | 
			
		||||
    "pages": [
 | 
			
		||||
            {% for page in site.pages %}
 | 
			
		||||
            {
 | 
			
		||||
                "id": {{page.title | downcase | jsonify}},
 | 
			
		||||
                "title": {{ page.title | jsonify }},
 | 
			
		||||
                "content_text": {{ page.content | strip_html | strip_newlines | jsonify }},
 | 
			
		||||
                "content_html": {{ page.content | strip_newlines | jsonify }},
 | 
			
		||||
@@ -40,5 +41,4 @@ layout: null
 | 
			
		||||
            }{% if forloop.last == false %},{% endif %}
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
    ]           
 | 
			
		||||
        
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user