mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	Updated list of posts
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		@@ -5,22 +5,29 @@ layout: page
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %}
 | 
					{% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- Links to external resources -->
 | 
					 | 
				
			||||||
{% include external_links.html %}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
{% for year in postsByYear %}
 | 
					{% for year in postsByYear %}
 | 
				
			||||||
  <h2>{{ year.name | strip_newlines | strip_html | strip | normalize_whitespace | slugify }}</h2>
 | 
					  <h2>{{ year.name | strip_newlines | strip_html | strip | normalize_whitespace | slugify }}</h2>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <table class="table table-striped">
 | 
				
			||||||
    {% for post in year.items %}
 | 
					    {% for post in year.items %}
 | 
				
			||||||
    <div class="post-item">
 | 
					      <tr>
 | 
				
			||||||
      <small><time datetime="{{ post.date | date_to_xmlschema}}">{{ post.date | date_to_long_string }}</time></small>
 | 
					        <!-- Date -->
 | 
				
			||||||
      <h4>
 | 
					        <td>
 | 
				
			||||||
 | 
					          <time datetime="{{ post.date | date_to_xmlschema}}">{{ post.date | date_to_long_string }}</time>
 | 
				
			||||||
 | 
					        </td>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <!-- Title -->
 | 
				
			||||||
 | 
					        <td>
 | 
				
			||||||
          <a href="{{ post.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
 | 
					          <a href="{{ post.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
 | 
				
			||||||
            {{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
 | 
					            {{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
 | 
				
			||||||
          </a>
 | 
					          </a>
 | 
				
			||||||
      </h4>
 | 
					        </td>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <p>{{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncatewords: 32 | xml_escape }}</p>
 | 
					        <!-- Description -->
 | 
				
			||||||
    </div>
 | 
					        <td>
 | 
				
			||||||
 | 
					          {{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncatewords: 32 | xml_escape }}
 | 
				
			||||||
 | 
					        </td>
 | 
				
			||||||
 | 
					      </tr>
 | 
				
			||||||
    {% endfor %}
 | 
					    {% endfor %}
 | 
				
			||||||
 | 
					  </table>
 | 
				
			||||||
{% endfor %}
 | 
					{% endfor %}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user