Skip to content
Snippets Groups Projects
Commit 1adbd262 authored by deuce's avatar deuce
Browse files

Add '1' to the episode number *after* converting it to a number.

parent 9c0f5feb
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,6 @@ for (i in hdrs) { ...@@ -19,6 +19,6 @@ for (i in hdrs) {
var item_info = podcast_get_info(base, hdrs[i]); var item_info = podcast_get_info(base, hdrs[i]);
if (item_info == undefined) if (item_info == undefined)
continue; continue;
print('<a href="index.xjs?page=episode.ssjs&episode='+parseInt(i+1)+'">'+strftime("%B %e %Y", hdrs[i].when_written_time) + " " + item_info.title+'</a><br>'); print('<a href="index.xjs?page=episode.ssjs&episode='+(parseInt(i)+1)+'">'+strftime("%B %e %Y", hdrs[i].when_written_time) + " " + item_info.title+'</a><br>');
print('<p>'+item_info.description+'</p>'); print('<p>'+item_info.description+'</p>');
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment