<div id="outmain">
<div id="header">
    <div class="logo">
        <a href="{{ route('home') }}">{{ $siteName }}</a>
        <p class="description">{{ $siteDescription }}</p>
    </div>
@stack('theme:header')
    <div id="nav">
        <ul>
            <li class="{{ request()->routeIs('home') ? 'current_page_item' : '' }}"><a href="{{ route('home') }}">首页</a></li>
            <li class="{{ request()->routeIs('archives*') ? 'current_page_item' : '' }}"><a href="{{ route('archives') }}">归档</a></li>
            <li class="{{ request()->routeIs('tags*') ? 'current_page_item' : '' }}"><a href="{{ route('tags') }}">标签</a></li>
            <li class="{{ request()->routeIs('links') ? 'current_page_item' : '' }}"><a href="{{ route('links') }}">友链</a></li>
            <li class="{{ request()->routeIs('comments') ? 'current_page_item' : '' }}"><a href="{{ route('comments') }}">评论</a></li>
            <li><a href="{{ route('feed.rss') }}">RSS</a></li>
            @auth
                <li><a href="{{ route('profile') }}">{{ auth()->user()->name }}</a></li>
                <li>
                    <form action="{{ route('logout') }}" method="post" class="inline-form">
                        @csrf
                        <button type="submit" class="link-btn">退出</button>
                    </form>
                </li>
            @else
                <li><a href="{{ route('login') }}">登录</a></li>
                <li><a href="{{ route('register') }}">注册</a></li>
            @endauth
        </ul>
    </div>
</div>
