diff options
| author | horus | 2024-01-15 23:03:17 +0100 |
|---|---|---|
| committer | horus | 2024-01-15 23:03:17 +0100 |
| commit | 32f972b2ac74e4fa553ef27ef004c8cce85aad36 (patch) | |
| tree | ec0bf1a2fb20a12ce1d7432e4dc69d201ac3eb0c /resources/views | |
| parent | 67e074289a05e2b21235ea369b3a0c04211aee87 (diff) | |
| download | curious-32f972b2ac74e4fa553ef27ef004c8cce85aad36.tar.gz | |
adds support for mastofeed.org to publish automatically to Mastodon
Diffstat (limited to 'resources/views')
| -rw-r--r-- | resources/views/about.blade.php | 4 | ||||
| -rw-r--r-- | resources/views/layouts/app.blade.php | 2 | ||||
| -rw-r--r-- | resources/views/layouts/footer.blade.php | 2 | ||||
| -rw-r--r-- | resources/views/list.blade.php | 2 |
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 |
