mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-09-18 07:15:52 +00:00
4b0c4e621a
Also changed up how base URL setting was being done by manipulating incoming request URLs instead of altering then on generation.
6 lines
431 B
PHP
6 lines
431 B
PHP
@foreach($entity->tags as $tag)
|
|
<div class="tag-item primary-background-light">
|
|
<div class="tag-name"><a href="{{ url('/search?term=%5B' . urlencode($tag->name) .'%5D') }}">@icon('tag'){{ $tag->name }}</a></div>
|
|
@if($tag->value) <div class="tag-value"><a href="{{ url('/search?term=%5B' . urlencode($tag->name) .'%3D' . urlencode($tag->value) . '%5D') }}">{{$tag->value}}</a></div> @endif
|
|
</div>
|
|
@endforeach |