Update
This commit is contained in:
		
					parent
					
						
							
								59349258b6
							
						
					
				
			
			
				commit
				
					
						0ec040670b
					
				
			
		
					 3 changed files with 18 additions and 45 deletions
				
			
		|  | @ -5,19 +5,21 @@ Total paginate-pages: {{ paginator.total_pages }} | ||||||
| 
 | 
 | ||||||
| --> | --> | ||||||
| 
 | 
 | ||||||
|       {% for post in paginator.posts %} | {% for post in paginator.posts %} | ||||||
|   <div class="row"> |   <div class="row"> | ||||||
|     <div class="small-12 columns bottom-60"> |     <div class="small-12 columns bottom-60"> | ||||||
|       <p class="subtitle">{% if post.subtitle %}{{ post.subtitle }}{% endif %}<span class="subheader"><small> {{ post.date | date: "%d.%m.%Y" }} · {% if post.categories %}{{ post.categories | join: ' · ' }}{% endif %}</small></span></p> |       <p class="subtitle">{% if post.subtitle %}{{ post.subtitle }}{% endif %}<span class="subheader"><small> {{ post.date | date: "%d.%m.%Y" }} · {% if post.categories %}{{ post.categories | join: ' · ' }}{% endif %}</small></span></p> | ||||||
|       <h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2> |       <h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2> | ||||||
|       <p> |       <p> | ||||||
|         {% if post.image.thumb %}<a href="{{ site.url }}{{ post.url }}" title="{{ post.title escape_once }}"><img src="{{ site.url }}/assets/img/{{ post.image.thumb }}" class="alignleft" width="150" height="150" alt="{{ page.title escape_once }}"></a>{% endif %} |         {% if post.image.thumb %}<a href="{{ site.url }}{{ post.url }}" title="{{ post.title escape_once }}"><img src="{{ site.url }}/assets/img/{{ post.image.thumb }}" class="alignleft" width="150" height="150" alt="{{ page.title escape_once }}"></a>{% endif %} | ||||||
|             {{ post.description }} | 
 | ||||||
|  |         {% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% elsif post.description %}{{ post.description | strip_html | escape }}{% endif %} | ||||||
|  | 
 | ||||||
|         <a href="{{ site.url }}{{ post.url }}" title="Read {{ post.title escape_once }}"><strong>Read more ›</strong></a> |         <a href="{{ site.url }}{{ post.url }}" title="Read {{ post.title escape_once }}"><strong>Read more ›</strong></a> | ||||||
|       </p> |       </p> | ||||||
|     </div><!-- /.small-12.columns --> |     </div><!-- /.small-12.columns --> | ||||||
|   </div><!-- /.row --> |   </div><!-- /.row --> | ||||||
|     {% endfor %} | {% endfor %} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| <nav id="pagination"> | <nav id="pagination"> | ||||||
|  |  | ||||||
|  | @ -3,30 +3,11 @@ layout: default | ||||||
| --- | --- | ||||||
| <div id="blog-index" class="row"> | <div id="blog-index" class="row"> | ||||||
| 	<div class="medium-7 columns top-30"> | 	<div class="medium-7 columns top-30"> | ||||||
| 
 | 		{% include pagination.html %} | ||||||
| 		{% for post in site.posts %} |  | ||||||
| 			<div class="row"> |  | ||||||
| 				<div class="small-12 columns bottom-60"> |  | ||||||
| 					<p class="subtitle">{% if post.subtitle %}{{ post.subtitle }}{% endif %}<span class="subheader"><small> {{ post.date | date: "%d.%m.%Y" }} · {% if post.categories %}{{ post.categories | join: ' · ' }}{% endif %}</small></span></p> |  | ||||||
| 					<h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2> |  | ||||||
| 					<p> |  | ||||||
| 						{% if post.image.thumb %}<a href="{{ site.url }}{{ post.url }}" title="{{ post.title escape_once }}"><img src="{{ site.url }}/assets/img/{{ post.image.thumb }}" class="alignleft" width="150" height="150" alt="{{ page.title escape_once }}"></a>{% endif %} |  | ||||||
| 
 |  | ||||||
| 						{% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% elseif post.description %}{{ post.description | strip_html | escape }}{% endif %} |  | ||||||
| 	 |  | ||||||
| 						<a href="{{ site.url }}{{ post.url }}" title="Read {{ post.title escape_once }}"><strong>Read more ›</strong></a> |  | ||||||
| 					</p> |  | ||||||
| 				</div><!-- /.small-12.columns --> |  | ||||||
| 			</div><!-- /.row --> |  | ||||||
| 		{% endfor %} |  | ||||||
| 
 |  | ||||||
| 	</div><!-- /.medium-7.columns --> | 	</div><!-- /.medium-7.columns --> | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 	<div class="medium-5 columns top-30"> | 	<div class="medium-5 columns top-30"> | ||||||
| 		{% include sidebar.html %} | 		{% include sidebar.html %} | ||||||
| 	</div><!-- /.medium-5.columns --> | 	</div><!-- /.medium-5.columns --> | ||||||
| </div><!-- /.row --> | </div><!-- /.row --> | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
|  |  | ||||||
|  | @ -1,19 +1,9 @@ | ||||||
| --- | --- | ||||||
| layout: default | layout: blog | ||||||
| title: "The Feeling Responsive Blog Template" | title: "The Feeling Responsive Blog Template" | ||||||
| image: | image: | ||||||
|    header: header_unsplash_6.jpg |    header: header_unsplash_6.jpg | ||||||
| --- | --- | ||||||
| <div id="blog-index" class="row"> |  | ||||||
| 	<div class="medium-7 columns top-30"> |  | ||||||
| 		{% include pagination.html %} |  | ||||||
| 	</div><!-- /.medium-7.columns --> |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 	<div class="medium-5 columns top-30"> |  | ||||||
| 		{% include sidebar.html %} |  | ||||||
| 	</div><!-- /.medium-5.columns --> |  | ||||||
| </div><!-- /.row --> |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
|  |  | ||||||
		Reference in a new issue