summaryrefslogtreecommitdiff
path: root/resources/views/list.blade.php
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/list.blade.php')
-rw-r--r--resources/views/list.blade.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/resources/views/list.blade.php b/resources/views/list.blade.php
index 575af7c..344de46 100644
--- a/resources/views/list.blade.php
+++ b/resources/views/list.blade.php
@@ -96,6 +96,12 @@
<em>You are looking at the most popular articles. If you are interested in </em><strong>popular topics</strong><em> instead, <a href="{{ route('popular_topics') }}" title="popular topics">click here</a>.</em>
</p>
</div>
+ @elseif ( "new" == Request::route()->getName() )
+ <div class="card-body">
+ <p class="card-text">
+ To stay up to date you can also follow on <a title="Follow on Mastodon {{ env('MASTODON_HANDLE') }}" href="{{ env('MASTODON_URL') }}" target="_blank">{!! file_get_contents(public_path() . "/img/mastodon.svg") !!} Mastodon</a>.
+ </p>
+ </div>
@endif
@endif
@@ -106,14 +112,14 @@
<div class="card">
<h1 class="card-header">
<a style="color:inherit;" href="{{ $article->url }}" title="{{ $article->title }}">
- {{ $article->title }}
+ 🔗 {{ $article->title }}
</a>
</h1>
<div class="card-body">
@if ( ! is_null($article->getCategories()) )
@foreach ( $article->getCategories()->get() as $cat )
<a class="badge badge-pill badge-primary" href="/topic/{{ $cat->name }}">
- {{ $cat->name }}
+ 🔗 {{ $cat->name }}
</a>
@endforeach
@endif