@extends('layouts.app') @section('styles') @include ('layouts.footer-style') @if ( 0 != $count ) html { height: inherit; } .hn { display: inline-block; font-size: inherit; height: 1em; overflow: visible; vertical-align: -.125em; fill: #ff6600; } .rss-link > svg { display: inline-block; font-size: inherit; height: 1em; overflow: visible; vertical-align: -.125em; fill: #f59436; } @endif .permalink:hover { text-decoration: none; } @endsection @section('content')
@if ( "search" == Request::route()->getName() )

Search for "{{ Request::input("q") }}" @if ( "1" != $articles->currentPage() ) (Page {{ $articles->currentPage() }}) @endif

You searched for "{{ Request::input("q") }}". We found {{ $count }} matches.

@include("search")
@elseif ( "topic" == Request::route()->getName() )

Topic: {{ Request::route()->parameters()["topic"] }} @if ( "1" != $articles->currentPage() ) (Page {{ $articles->currentPage() }}) @endif

You are looking at all articles with the topic "{{ Request::route()->parameters()["topic"] }}". We found {{ $count }} matches.

Hint: To view all topics, click here. Too see the most popular topics, click here instead.

@elseif ( "random" == Request::route()->getName() )

{{ ucwords(Request::route()->getName()) }} Articles @if ( "1" != $articles->currentPage() ) (Page {{ $articles->currentPage() }}) @endif

Have a deep view into what people are curious about.

@elseif ( "show" == Request::route()->getName() ) @else

{{ ucwords(Request::route()->getName()) }} Articles @if ( "1" != $articles->currentPage() ) (Page {{ $articles->currentPage() }}) @endif

@if ( "popular" == Request::route()->getName() )

Hint: You are looking at the most popular articles. If you are interested in popular topics instead, click here.

@elseif ( "new" == Request::route()->getName() ) @endif @endif
@foreach( $articles->all() as $article)

🔗 {{ $article->title }} @if ( "show" != Request::route()->getName() ) @endif

@if ( ! is_null($article->getCategories()) ) @foreach ( $article->getCategories()->get() as $cat ) 🔗 {{ $cat->name }} @endforeach @endif

{!! $article->excerpt_html !!}

@if ( 0 != $article->comments )

Discussed on

@endif
@endforeach {{ $articles->appends(Request::input())->links() }}
@endsection @section ('footer') @include ('layouts.footer') @endsection