mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	Added security to the page template
Signed-off-by: Valentin Popov <valentineus@gmail.com>
This commit is contained in:
		@@ -2,8 +2,12 @@
 | 
				
			|||||||
layout: default
 | 
					layout: default
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- Contents of the page -->
 | 
					 | 
				
			||||||
<div class="page">
 | 
					<div class="page">
 | 
				
			||||||
    <h1 class="page-title">{{ page.title }}</h1>
 | 
					    <!-- Header -->
 | 
				
			||||||
    {{ content }}
 | 
					    <h1 class="page-title">
 | 
				
			||||||
 | 
					        {{ page.title | smartify | strip_html | normalize_whitespace }}
 | 
				
			||||||
 | 
					    </h1>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- Contents -->
 | 
				
			||||||
 | 
					    {{ content | normalize_whitespace }}
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user