corrected accordeon
This commit is contained in:
		
					parent
					
						
							
								372dd4bb7d
							
						
					
				
			
			
				commit
				
					
						1dbbf50302
					
				
			
		
					 3 changed files with 18 additions and 19 deletions
				
			
		|  | @ -13,18 +13,17 @@ permalink: "blog/archive/" | |||
| 		{% if page.description %}<p class="teaser">{{ page.description }}</p>{% endif %} | ||||
| 
 | ||||
| 		<dl class="accordion" data-accordion> | ||||
| 		{% assign counter = 1 %} | ||||
| 		{% for post in site.posts limit:1000 %} | ||||
| 		  <dd class="accordion-navigation"> | ||||
| 		    <a href="#panel{{ counter }}"><span class="entypo entypo-16"></span> {% if post.subheadline %}{{ post.subheadline }} › {% endif %}<strong>{{ post.title }}</strong></a> | ||||
| 		    <div id="panel{{ counter }}" class="content"> | ||||
| 		      {% 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>{{ site.data.language.read_more }}</strong></a><br><br> | ||||
| 		    </div> | ||||
| 		  </dd> | ||||
| 		{% assign counter=counter | plus:1 %} | ||||
| 		{% endfor %} | ||||
| 			{% assign counter = 1 %} | ||||
| 			{% for post in site.posts limit:1000 %} | ||||
| 			<dd class="accordion-navigation"> | ||||
| 			<a href="#panel{{ counter }}"><span class="iconfont"></span> {% if post.subheadline %}{{ post.subheadline }} › {% endif %}<strong>{{ post.title }}</strong></a> | ||||
| 				<div id="panel{{ counter }}" class="content"> | ||||
| 					{% 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>{{ site.data.language.read_more }}</strong></a><br><br> | ||||
| 				</div> | ||||
| 			</dd> | ||||
| 			{% assign counter=counter | plus:1 %} | ||||
| 			{% endfor %} | ||||
| 		</dl> | ||||
| 
 | ||||
| 	</div><!-- /.small-12.columns --> | ||||
| </div><!-- /.row --> | ||||
|  |  | |||
		Reference in a new issue