Ensure excerpts are in paragraphs
This commit is contained in:
		
							parent
							
								
									a47dbcff14
								
							
						
					
					
						commit
						86543cb33f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -19,8 +19,9 @@ use: | |||
|             {% if post.blocks.excerpt %} | ||||
|                 {{ post.blocks.excerpt|raw }} | ||||
|             {% else %} | ||||
|                 {{ post.blocks.content|raw|split(' ')|slice(0,50)|join(' ')|raw }} … | ||||
|                 <p>{{ post.blocks.content|raw|split(' ')|slice(0,50)|join(' ')|raw }} …</p> | ||||
|             {% endif %} | ||||
| 
 | ||||
|             <a href="{{ post.url }}">Read more →</a> | ||||
|         </article> | ||||
|     {% endfor %} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue