summaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/about.blade.php4
-rw-r--r--resources/views/layouts/app.blade.php2
-rw-r--r--resources/views/layouts/footer.blade.php2
-rw-r--r--resources/views/list.blade.php2
4 files changed, 10 insertions, 0 deletions
diff --git a/resources/views/about.blade.php b/resources/views/about.blade.php
index e76f15f..14b62dc 100644
--- a/resources/views/about.blade.php
+++ b/resources/views/about.blade.php
@@ -46,6 +46,10 @@ For starters I recommend to start with the <a href="{{ route('popular') }}">most
If you have feedback, want to report a bug or just say hello, hit me up by e-mail: <em>hi @ thisdomain without the www .com</em>
+<br>
+<br>
+You can now also follow on Mastodon <a href="https://mstdn.social/@MostDiscussed" target=_blank>@MostDiscussed</a>.
+
<!--
I was curious what HN may find interesting, so I used upvoted or discussed articles from Wikipedia as a proxy and build this. All articles are <a href="{{ route('popular_topics') }}">structured and categorized</a> to get a better overview. Unsurprisingly <a href="{{ route('topic', 'computing') }}">computing</a> was on the top, but then it might get interesting.
<br>
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index cf30b01..64bc3dc 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -7,6 +7,8 @@
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
+ <link rel="me" href="https://mstdn.social/@MostDiscussed">
+
<title>{{ config('app.name', 'Laravel') }}@if( "index" != Request::route()->getName() ) - {{ ucwords(Request::route()->getName()) }} Articles @endif</title>
<!-- Scripts -->
diff --git a/resources/views/layouts/footer.blade.php b/resources/views/layouts/footer.blade.php
index a037c25..1f56b8e 100644
--- a/resources/views/layouts/footer.blade.php
+++ b/resources/views/layouts/footer.blade.php
@@ -11,6 +11,8 @@
</h3>
<strong>
<a href="{{ route('about') }}">About {{ env('APP_NAME') }}</a>
+ <br>
+ <a href="https://mstdn.social/@MostDiscussed">Follow on Mastodon</a>
</strong>
</div>
</footer>
diff --git a/resources/views/list.blade.php b/resources/views/list.blade.php
index 5b64214..575af7c 100644
--- a/resources/views/list.blade.php
+++ b/resources/views/list.blade.php
@@ -75,6 +75,8 @@
Have a deep view into what people are curious about.
</p>
</div>
+ @elseif ( "show" == Request::route()->getName() )
+ <!-- single article. show nothing -->
@else
<h1 class="card-header">
{{ ucwords(Request::route()->getName()) }} Articles