Sha256: 604636de774c651d5302aea3ef457750795825b5b92b8bd0cac03f17f409ed5e
Contents?: true
Size: 1.57 KB
Versions: 1
Compression:
Stored size: 1.57 KB
Contents
<div class="announcement-feed mb-3"> <h2>Announcements</h2> {% for post in paginator.posts %} <h3>{{ post.title }}<i>{{ post.date | date_to_string }}</i></h3> <q>{{ post.excerpt | strip_html | truncatewords:30 }}</q> <a href="{{ post.url }}" class="learn-more">Read full announcement</a> {% endfor %} {% if paginator.total_pages > 1 %} <div class="pagination justify-content-center mt-3"> {% if paginator.previous_page %} <a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a> {% else %} <span>« Prev</span> {% endif %} {% for page in (1..paginator.total_pages) %} {% if page == paginator.page %} <span class="ml-1 mr-1">{{ page }}</span> {% elsif page == 1 %} <a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a> {% else %} <a class="ml-1 mr-1" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a> {% endif %} {% endfor %} {% if paginator.next_page %} <a class="ml-1 mr-1" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a> {% else %} <span>Next »</span> {% endif %} </div> {% endif %} </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-kde-theme-0.3.0 | _includes/blog.html |