Skip to content

Commit

Permalink
Merge pull request #1292 from innocente205/patch-8
Browse files Browse the repository at this point in the history
(Update) category view breadcrumb
  • Loading branch information
HDVinnie authored Apr 23, 2020
2 parents 0ca0121 + 764347b commit a8858cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/views/category/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
@endsection

@section('breadcrumb')
<li>
<a href="{{ route('torrents') }}" itemprop="url" class="l-breadcrumb-item-link">
<span itemprop="title" class="l-breadcrumb-item-link-title">@lang('torrent.torrents')</s
pan>
</a>
</li>
<li>
<a href="{{ route('categories.index') }}" itemprop="url" class="l-breadcrumb-item-link">
<span itemprop="title" class="l-breadcrumb-item-link-title">@lang('torrent.categories')</span>
Expand Down
6 changes: 6 additions & 0 deletions resources/views/category/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
@endsection

@section('breadcrumb')
<li>
<a href="{{ route('torrents') }}" itemprop="url" class="l-breadcrumb-item-link">
<span itemprop="title" class="l-breadcrumb-item-link-title">@lang('torrent.torrents')</s
pan>
</a>
</li>
<li>
<a href="{{ route('categories.index') }}" itemprop="url" class="l-breadcrumb-item-link">
<span itemprop="title" class="l-breadcrumb-item-link-title">@lang('torrent.categories')</span>
Expand Down

0 comments on commit a8858cd

Please sign in to comment.