142 lines
5.7 KiB
Plaintext
142 lines
5.7 KiB
Plaintext
{% include_template "_books" %}
|
|
<div class="content">
|
|
{%- if is_category or is_tag %}
|
|
<h1 class="index-title">{{ page_title }}</h1>
|
|
{%- if is_category %}
|
|
{%- assign cat = categories | where: "slug", slug | first -%}
|
|
{%- if cat.description %}<h2 class="index-title">{{ cat.description.value }}</h2>{% endif -%}
|
|
{%- endif %}
|
|
{%- endif %}
|
|
{% for post in model.posts %}
|
|
<article class="item">
|
|
<h1 class="item-heading">
|
|
<a href="{{ post.permalink | relative_link }}"
|
|
title="Permanent Link to “{{ post.title | strip_html | escape_once }}”">
|
|
{{ post.title }}
|
|
</a>
|
|
</h1>
|
|
<p class="item-meta">
|
|
<i class="fa fa-calendar" title="Date"></i> {{ post.published_on | date: "dddd, MMMM d, yyyy" }}
|
|
{% if logged_on %} • <a href="{{ post | edit_post_link }}">Edit Post</a>{% endif %}
|
|
</p>
|
|
{% include_template "_episode" %}
|
|
{{ post.text }}
|
|
</article>
|
|
{% endfor %}
|
|
<nav aria-label="pagination">
|
|
<div>{% if model.newer_link %}<a href="{{ model.newer_link.value }}">« Newer Posts</a>{% endif %}</div>
|
|
<div>{% if model.older_link %}<a href="{{ model.older_link.value }}">Older Posts »</a>{% endif %}</div>
|
|
</nav>
|
|
</div>
|
|
<div class="sidebar">
|
|
<div class="item">
|
|
<h4 class="item-heading">Author</h4>
|
|
<p>Daniel is a man who wants to be used of God however He sees fit.</p>
|
|
<hr class="sidebar-sep">
|
|
<ul>
|
|
<li><a href="https://daniel.summershome.org/my-testimony">Daniel’s Testimony</a></li>
|
|
<li><a href="{{ "2007/about-daniels-weekly-devotions.html" | relative_link }}">About This Site</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="item">
|
|
<h4 class="item-heading">Series</h4>
|
|
{%- for series in series_details %}
|
|
{% assign parts = series | split: "," %}
|
|
{% assign cat = categories | where: "Id", parts[0] | first %}
|
|
<h4 class="text-center">{{ cat.name }}</h4>
|
|
<p class="text-center">
|
|
<a href="{{ parts[2] | relative_link }}"
|
|
title="About the series “{{ cat.name | escape_once }}” • A Word from the Word">
|
|
About the Series
|
|
</a> •
|
|
<a href="{{ cat | category_link }}">Read All</a> <small class="count">({{ cat.post_count }})</small>
|
|
</p>
|
|
{% unless forloop.last %}<hr class="sidebar-sep">{% endunless %}
|
|
{% endfor %}
|
|
</div>
|
|
<div class="item">
|
|
<h4 class="item-heading">Books</h4>
|
|
<p>Each devotion is categorized under the books of the Bible which are referenced within it.</p>
|
|
<hr class="sidebar-sep">
|
|
<h4 class="text-center">Old Testament</h4>
|
|
<p class="text-center">
|
|
{%- assign cat_id = ot_books | first -%}
|
|
{%- assign cat = categories | where: "Id", cat_id | first -%}
|
|
<a href="{{ cat | category_link }}"
|
|
{%- if cat.description %} title="{{ cat.description.value | escape_once }}"{% endif %}>
|
|
See All
|
|
</a> <small class="count">({{ cat.post_count }})</small>
|
|
</p>
|
|
<ul>
|
|
{%- assign first_time = true -%}
|
|
{% for cat_id in ot_books -%}
|
|
{%- if first_time -%}
|
|
{%- assign first_time = false -%}
|
|
{%- else %}
|
|
{%- assign cat = categories | where: "Id", cat_id | first -%}
|
|
<li>
|
|
{% if cat.post_count == 0 -%}
|
|
<span{% if cat.description %} title="{{ cat.description.value | escape_once }}"{% endif %}>
|
|
{{ cat.name }}
|
|
</span> <small class="count">(0)</small>
|
|
{%- else -%}
|
|
<a href="{{ cat | category_link }}"
|
|
{%- if cat.description %} title="{{ cat.description.value | escape_once }}"{% endif %}>
|
|
{{ cat.name }}
|
|
</a> <small class="count">({{ cat.post_count }})</small>
|
|
{%- endif %}
|
|
</li>
|
|
{%- endif %}
|
|
{%- endfor %}
|
|
</ul>
|
|
<hr class="sidebar-sep">
|
|
<h4 class="text-center">New Testament</h4>
|
|
<p class="text-center">
|
|
{%- assign cat_id = nt_books | first -%}
|
|
{%- assign cat = categories | where: "Id", cat_id | first -%}
|
|
<a href="{{ cat | category_link }}"
|
|
{%- if cat.description %} title="{{ cat.description.value | escape_once }}"{% endif %}>
|
|
See All
|
|
</a> <small class="count">({{ cat.post_count }})</small>
|
|
</p>
|
|
<ul>
|
|
{%- assign first_time = true -%}
|
|
{%- for cat_id in nt_books -%}
|
|
{%- if first_time -%}
|
|
{%- assign first_time = false -%}
|
|
{%- else %}
|
|
{%- assign cat = categories | where: "Id", cat_id | first -%}
|
|
<li>
|
|
{% if cat.post_count == 0 -%}
|
|
<span{% if cat.description %} title="{{ cat.description.value | escape_once }}"{% endif %}>
|
|
{{ cat.name }}
|
|
</span> <small class="count">(0)</small>
|
|
{%- else -%}
|
|
<a href="{{ cat | category_link }}"
|
|
{%- if cat.description %} title="{{ cat.description.value | escape_once }}"{% endif %}>
|
|
{{ cat.name }}
|
|
</a> <small class="count">({{ cat.post_count }})</small>
|
|
{%- endif %}
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
<div class="item">
|
|
<h4 class="item-heading">Topics</h4>
|
|
<ul>
|
|
{%- for cat in categories -%}
|
|
{%- unless ot_books contains cat.id or nt_books contains cat.id or series_ids contains cat.id -%}
|
|
<li>
|
|
{%- for it in cat.parent_names %} {% endfor -%}
|
|
<a href="{{ cat | category_link }}"
|
|
{%- if cat.description %} title="{{ cat.description.value | escape_once }}"{% endif %}>
|
|
{{ cat.name }}
|
|
</a> <small class="count">({{ cat.post_count }})</small>
|
|
</li>
|
|
{% endunless %}
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</div>
|