Update for beta 5

This commit is contained in:
Daniel J. Summers 2022-07-21 22:51:36 -04:00
parent f2cbd2e111
commit 6e80fad3f6
3 changed files with 7 additions and 3 deletions

View File

@ -28,7 +28,7 @@
<h4>
Categorized &nbsp;
{% for cat_id in post.category_ids -%}
{% assign cat = categories | where: "id", cat_id | first %}
{% assign cat = categories | where: "Id", cat_id | first %}
<span class="no-wrap">
<i class="fa fa-folder-open-o" title="Category"></i>
<a href="{{ cat | category_link }}" title="Categorized under &ldquo;{{ cat.name | escape }}&rdquo;">

View File

@ -1,2 +1,2 @@
Daniel J. Summers
1.0.1
1.0.2

View File

@ -1,6 +1,10 @@
djs = {
displayVotd: res => {
/**
* Display the verse/passage of the day (callback for Bible Gateway API call)
* @param {{votd: {text: string, permalink: string, display_ref: string, copyrightlink: string}}} res The callback response
*/
displayVotd (res) {
const votd = res.votd
const votdItem = document.querySelector('.votd-item')
votdItem.querySelector('.verse').innerHTML = votd.text