fix: removing broken links to unpublished episodes
This commit is contained in:
parent
06e5101199
commit
c46664492d
@ -56,9 +56,9 @@ class="avatar" data-bs-toggle="tooltip"
|
|||||||
<strong>{{ $thisPodcast->name }}</strong>
|
<strong>{{ $thisPodcast->name }}</strong>
|
||||||
@endif
|
@endif
|
||||||
<br>
|
<br>
|
||||||
@if ($thisPodcast->published)
|
@if ($thisEpisode->published)
|
||||||
<a href="/podcast/{{ $thisPodcast->slug }}/episode/{{ $thisEpisode->slug }}">Episode {{ number_format($thisEpisode->episode_number + 0) }}<br><em>
|
<a href="/podcast/{{ $thisPodcast->slug }}/episode/{{ $thisEpisode->slug }}">Episode {{ number_format($thisEpisode->episode_number + 0) }}<br>
|
||||||
{{ $thisEpisode->episode_date->format('D, M j') }}<sup>{{ $thisEpisode->episode_date->format('S') }}</sup>{{ $thisEpisode->episode_date->format(', Y') }}</em></a>
|
<em>{{ $thisEpisode->episode_date->format('D, M j') }}<sup>{{ $thisEpisode->episode_date->format('S') }}</sup>{{ $thisEpisode->episode_date->format(', Y') }}</em></a>
|
||||||
@else
|
@else
|
||||||
Episode {{ number_format($thisEpisode->episode_number + 0) }}<br>
|
Episode {{ number_format($thisEpisode->episode_number + 0) }}<br>
|
||||||
<em>{{ $thisEpisode->episode_date->format('D, M j') }}<sup>{{ $thisEpisode->episode_date->format('S') }}</sup>{{ $thisEpisode->episode_date->format(', Y') }}</em>
|
<em>{{ $thisEpisode->episode_date->format('D, M j') }}<sup>{{ $thisEpisode->episode_date->format('S') }}</sup>{{ $thisEpisode->episode_date->format(', Y') }}</em>
|
||||||
|
Loading…
Reference in New Issue
Block a user