diff options
| author | horus | 2024-01-16 02:39:07 +0100 |
|---|---|---|
| committer | horus | 2024-01-16 02:39:07 +0100 |
| commit | 870c335022a43b2cb321a5c436b37981a61d2a46 (patch) | |
| tree | 8c92f5c5ce0b20fd4b47627a7fbad290e5b43783 | |
| parent | 0f94a6c78dc5d4563c7f10a43e93c80832d9bf71 (diff) | |
| download | curious-870c335022a43b2cb321a5c436b37981a61d2a46.tar.gz | |
add permalinks
| -rw-r--r-- | resources/views/list.blade.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/views/list.blade.php b/resources/views/list.blade.php index 344de46..5878aa9 100644 --- a/resources/views/list.blade.php +++ b/resources/views/list.blade.php @@ -27,6 +27,10 @@ } @endif +.permalink:hover { + text-decoration: none; +} + @endsection @section('content') @@ -114,6 +118,11 @@ <a style="color:inherit;" href="{{ $article->url }}" title="{{ $article->title }}"> 🔗 {{ $article->title }} </a> +@if ( "show" != Request::route()->getName() ) + <div class="float-right"> + <a class="permalink" href="{{ route('show', $article->id) }}" title="Permalink">🛈</a> + </div> +@endif </h1> <div class="card-body"> @if ( ! is_null($article->getCategories()) ) |
