diff --git a/src/single-post.liquid b/src/single-post.liquid index eaf377b..da1bc4d 100644 --- a/src/single-post.liquid +++ b/src/single-post.liquid @@ -28,7 +28,7 @@

Categorized   {% for cat_id in post.category_ids -%} - {% assign cat = categories | where: "id", cat_id | first %} + {% assign cat = categories | where: "Id", cat_id | first %} diff --git a/src/version.txt b/src/version.txt index 78ec0d7..99e9094 100644 --- a/src/version.txt +++ b/src/version.txt @@ -1,2 +1,2 @@ Daniel J. Summers -1.0.1 \ No newline at end of file +1.0.2 \ No newline at end of file diff --git a/src/wwwroot/djs.js b/src/wwwroot/djs.js index fbb64b0..0c7b35d 100644 --- a/src/wwwroot/djs.js +++ b/src/wwwroot/djs.js @@ -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