mirror of
https://github.com/CoderSherlock/CoderSherlock.github.io.git
synced 2026-06-12 23:58:11 -07:00
Updated to new theme of TeXt
This commit is contained in:
+3
-41
@@ -1,43 +1,5 @@
|
||||
---
|
||||
layout: default
|
||||
layout: home
|
||||
# articles:
|
||||
# excerpt_type: html
|
||||
---
|
||||
|
||||
<div class="home">
|
||||
<a class="rss-link" href="{{ "/feed.xml" | prepend: site.baseurl }}">RSS Feed</a>
|
||||
<h1 class="page-heading">Articles</h1>
|
||||
|
||||
<ul class="post-list">
|
||||
{% for post in paginator.posts %}
|
||||
<li>
|
||||
<h2>
|
||||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
||||
</h2>
|
||||
|
||||
<div class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</div>
|
||||
|
||||
<div class="post-excerpt">
|
||||
{{ post.excerpt }}
|
||||
<p>
|
||||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">Read More »</a>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<!-- Pagination links -->
|
||||
<div class="pagination">
|
||||
{% if paginator.previous_page %}
|
||||
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="previous">PREV</a>
|
||||
{% else %}
|
||||
<span class="previous">PREV</span>
|
||||
{% endif %}
|
||||
<span class="page_number ">{{ paginator.page }} of {{ paginator.total_pages }}</span>
|
||||
{% if paginator.next_page %}
|
||||
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="next">NEXT</a>
|
||||
{% else %}
|
||||
<span class="next ">NEXT</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user