Updated for teaching.
This commit is contained in:
parent
28a89401ff
commit
73f5484fb5
7 changed files with 371 additions and 16 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<div class="footer-inner inner box-flex pt-600 pb-600">
|
||||
|
||||
<p class="color-primary text-400"><a href="https://bashelton.com/">bashelton.com</a>; revised November 2022</p>
|
||||
<p class="color-primary text-400"><a href="https://bashelton.com/">bashelton.com</a>; revised November 2025</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<a class="logo box-block color-white weight-bold" href="{{ '/' | url }}" title="Sunday School Notes for "Just Us"">"Just Us" Class Notes</a>
|
||||
<a class="logo box-block color-white weight-bold" href="{{ '/' | url }}" title="Sunday School Notes for Just Us">Just Us Class Notes</a>
|
||||
|
|
|
|||
78
sources/site/includes/layouts/notes-home.njk
Normal file
78
sources/site/includes/layouts/notes-home.njk
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
---
|
||||
layout: base
|
||||
---
|
||||
|
||||
<main id="main" class="main inner box-flex pt-800 pb-1100" tabindex="-1">
|
||||
|
||||
<header class="page-header">
|
||||
|
||||
<h1 class="page-title">{{ title }}</h1>
|
||||
|
||||
{% if sub_heading %}
|
||||
|
||||
<p class="sub-heading">{{ sub_heading }}</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
</header>
|
||||
|
||||
<div class="content flow">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
|
||||
<div class="bg-white pt-1100 pb-1100">
|
||||
|
||||
<div class="posts inner box-grid">
|
||||
|
||||
{% for post in notes %}
|
||||
|
||||
<article class="card">
|
||||
|
||||
{# post image #}
|
||||
{% if post.data.post_image %}
|
||||
|
||||
<a class="box-block" href="{{ post.url | url }}">
|
||||
|
||||
<span class="card-header box-block">
|
||||
|
||||
<span class="card-categories">
|
||||
|
||||
{% for item in post.data.tags %}
|
||||
|
||||
{%- if item !== 'blog' -%}
|
||||
|
||||
<span class="category box-block bg-secondary color-primary text-300">{{ item | capitalize }}</span>
|
||||
|
||||
{%- endif -%}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
</span>
|
||||
|
||||
<img class="card-image" data-src="{{ post.data.post_image | url }}" alt="{{ post.data.image_alt }}">
|
||||
|
||||
</span>
|
||||
|
||||
</a>
|
||||
|
||||
{% endif %}
|
||||
|
||||
<div class="card-content pt-700 pb-900 pl-300 pr-300">
|
||||
|
||||
<h2><a class="card-title-link color-primary weight-regular hover-color-secondary" href="{{ post.url | url }}">{{ post.data.title }}</a></h2>
|
||||
|
||||
<time class="datetime color-grey text-400" datetime="{{ post.date | timestamp }}">
|
||||
{{ post.date | dateDisplay }}
|
||||
</time>
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
Loading…
Reference in a new issue