diff --git a/_includes/episode_title.html b/_includes/episode_title.html index cfa47cd7e390d5980e5f8c785ebd6adaf45ee26f..e6fbb8c30e6cca05256e363aced5d9e806b67740 100644 --- a/_includes/episode_title.html +++ b/_includes/episode_title.html @@ -2,7 +2,7 @@ Find previous and next episodes (if any). {% endcomment %} {% for episode in site.episodes %} - {% if episode.title == page.title %} + {% if episode.url == page.url %} {% unless forloop.first %} {% assign prev_episode = prev %} {% endunless %}