mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 14:59:45 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
---
 | 
						|
layout: default
 | 
						|
---
 | 
						|
 | 
						|
<div class="post">
 | 
						|
    <!-- Header -->
 | 
						|
    <h1 class="post-title">
 | 
						|
        {{ page.title | smartify | strip_html | normalize_whitespace }}
 | 
						|
    </h1>
 | 
						|
 | 
						|
    <!-- Date -->
 | 
						|
    <span class="post-date">{{ page.date | date_to_long_string }}</span>
 | 
						|
 | 
						|
    <!-- Contents -->
 | 
						|
    {{ content | normalize_whitespace }}
 | 
						|
</div>
 | 
						|
 | 
						|
<!-- Comments on the post -->
 | 
						|
<div class="comments">
 | 
						|
    <div id="disqus_thread"></div>
 | 
						|
    <script type="text/javascript" defer>
 | 
						|
        var disqus_config = function() {
 | 
						|
            this.page.identifier = '{{ page.id | slugify }}';
 | 
						|
            this.page.title = '{{ page.title | smartify | strip_html | normalize_whitespace }}';
 | 
						|
            this.page.url = '{{ page.url | absolute_url | uri_escape }}';
 | 
						|
        };
 | 
						|
 | 
						|
        (function() {
 | 
						|
            var d = document,
 | 
						|
                s = d.createElement('script');
 | 
						|
            s.src = '//valentineus-link.disqus.com/embed.js';
 | 
						|
            s.setAttribute('data-timestamp', +new Date());
 | 
						|
            (d.head || d.body).appendChild(s);
 | 
						|
        })();
 | 
						|
    </script>
 | 
						|
 | 
						|
</div>
 |