fixed blogpage
This commit is contained in:
		| @@ -2,6 +2,7 @@ | ||||
| layout: post | ||||
| title: "Freifunk versorgt Nord Open Air mit Internet" | ||||
| date:   2014-08-02 16:31:19 | ||||
| author: Julian | ||||
| categories: Freifunk | ||||
| --- | ||||
| Alles begann mit einer Anfrage des Nord Open Air Veranstalters:  | ||||
|   | ||||
							
								
								
									
										26
									
								
								blog.html
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								blog.html
									
									
									
									
									
								
							| @@ -6,17 +6,23 @@ layout: default | ||||
| {% if forloop.first == false %} | ||||
| <hr> | ||||
| {% endif %} | ||||
| <div class="container" id="posts"> | ||||
| <div class="container"> | ||||
|   <div class="row"> | ||||
|     <div class="col-md-12"> | ||||
|       <h2>{{ post.title }}</h2> | ||||
|       <p> | ||||
|        {{ post.content | truncatewords:200 }} | ||||
|       </p> | ||||
|       {% assign wordcount = post.content | number_of_words %} | ||||
|       {% if wordcount > 200 %} | ||||
|         <p><a class="btn btn-default" href="{{ post.url | prepend: site.baseurl }}" role="button">> Weiterlesen</a></p> | ||||
|       {% endif %} | ||||
|     <div class="col-md-12 post"> | ||||
|  | ||||
|       <header class="post-header"> | ||||
|         <h1 class="post-title">{{ post.title }}</h1> | ||||
|         <p class="post-meta">{{ post.date | date: "%b %-d, %Y" }}{% if post.author %} • {{ post.author }}{% endif %}{% if post.meta %} • {{ post.meta }}{% endif %}</p> | ||||
|       </header> | ||||
|  | ||||
|       <article class="post-content"> | ||||
|         {{post.content}} | ||||
|         {% assign wordcount = post.content | number_of_words %} | ||||
|         {% if wordcount > 200 %} | ||||
|           <p><a class="btn btn-default" href="{{ post.url | prepend: site.baseurl }}" role="button">> Weiterlesen</a></p> | ||||
|         {% endif %} | ||||
|       </article> | ||||
|  | ||||
|     </div> | ||||
|   </div> | ||||
| </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Timm Szigat
					Timm Szigat