Skip to content

Commit

Permalink
Slideshow daattali#15
Browse files Browse the repository at this point in the history
  • Loading branch information
spalanco authored and spalanco committed Mar 26, 2016
1 parent a9309ee commit e750dbf
Showing 1 changed file with 5 additions and 49 deletions.
54 changes: 5 additions & 49 deletions slideshow.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@
---
<div class="bss-slides test">
<figure>
<img src="/img/slideshow/img1.jpg" width="100%" />
<img src="/img/slideshow/img1.jpg" width="100%" height=200 />
<figcaption>Caption_1</figcaption>
</figure>
<figure>
<img src="/img/slideshow/img2.jpg" width="100%" />
<img src="/img/slideshow/img2.jpg" width="100%" height=200 />
<figcaption>Caption_2</figcaption>
</figure>
<figure>
<img src="/img/slideshow/img3.jpg" width="100%" />
<img src="/img/slideshow/img3.jpg" width="100%" height=200 />
<figcaption>Caption_3</figcaption>
</figure>
<figure>
<img src="/img/slideshow/img4.jpg" width="100%" />
<img src="/img/slideshow/img4.jpg" width="100%" height=200 />
<figcaption>Caption_4</figcaption>
</figure>
<figure>
<img src="/img/slideshow/img5.jpg" width="100%" />
<img src="/img/slideshow/img5.jpg" width="100%" height=200 />
<figcaption>Caption_5</figcaption>
</figure>
<figure>
Expand Down Expand Up @@ -71,47 +71,3 @@







<div class="posts-list">
{% for post in paginator.posts %}
<article class="post-preview">
<a href="{{ post.url | prepend: site.baseurl }}">
<h2 class="post-title">{{ post.title }}</h2>

{% if post.subtitle %}
<h3 class="post-subtitle">
{{ post.subtitle }}
</h3>
{% endif %}
</a>

<p class="post-meta">
Posted on {{ post.date | date: "%B %-d, %Y" }}
</p>

<div class="post-entry">
{{ post.content | truncatewords: 50 | strip_html | xml_escape}}
<a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Read&nbsp;More]</a>
</div>

</article>
{% endfor %}
</div>

{% if paginator.total_pages > 1 %}
<ul class="pager main-pager">
{% if paginator.previous_page %}
<li class="previous">
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; Newer Posts</a>
</li>
{% endif %}
{% if paginator.next_page %}
<li class="next">
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older Posts &rarr;</a>
</li>
{% endif %}
</ul>
{% endif %}

0 comments on commit e750dbf

Please sign in to comment.