网站首页 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
@using Dpz.Core.EnumLibrary
@{ var menu = (MenuItem?) ViewBag.Menu; }
<ul class="layui-nav layui-nav-tree layui-nav-side blog-nav-left layui-hide" lay-filter="nav">
    <li class="layui-nav-item @Html.Raw(menu == MenuItem.Home ? "layui-this" : "")">
        <a href="/" data-pjax><i class="fa fa-home fa-fw"></i>&nbsp;网站首页</a>
    </li>
    <li class="layui-nav-item @Html.Raw(menu == MenuItem.Blog ? "layui-this" : "")">
        <a asp-action="Index" asp-controller="Article" data-pjax>
            <i class="fa fa-file-text fa-fw"></i>&nbsp;文章专栏
        </a>
    </li>
    <li class="layui-nav-item @Html.Raw(menu == MenuItem.Steam ? "layui-this" : "")">
        <a asp-controller="Steam" asp-action="Index" data-pjax><i class="fa fa-steam fa-fw"></i>&nbsp;Steam</a>
    </li>
    <li class="layui-nav-item  @Html.Raw(menu == MenuItem.Mumble ? "layui-this" : "")">
        <a asp-action="Index" asp-controller="Talk" data-pjax>
            <i class="fa fa-comments fa-fw"></i>&nbsp;碎碎念
        </a>
    </li>
        <li class="layui-nav-item @Html.Raw(menu == MenuItem.Bookmark ? "layui-this" : "")">
            <a asp-action="Index" asp-controller="Bookmark" data-pjax>
                <i class="fa fa-bookmark fa-fw"></i>&nbsp;我的书签
            </a>
        </li>
    <li class="layui-nav-item  @Html.Raw((menu == MenuItem.Code || menu == MenuItem.Timeline || menu == MenuItem.Markdown) ? "layui-this" : "")">
        <a href="javascript:;"><i class="fa fa-toggle-down fa-fw"></i>其它内容</a>
        <dl class="layui-nav-child">
            <dd @Html.Raw(menu == MenuItem.Music ? "class='layui-this'" : "")>
                <a asp-controller="Music" asp-action="Index" asp-route-path="" data-pjax><i class="fa fa-music fa-fw"></i>&nbsp;曲库</a>
            </dd>
            @* <dd @Html.Raw(menu == MenuItem.Hot ? "class='layui-this'" : "")> *@
            @*     <a asp-controller="Topic" asp-action="Index" asp-route-path="" data-pjax><i class="fa fa-fire fa-fw"></i>&nbsp;今日热榜</a> *@
            @* </dd> *@
            <dd @Html.Raw(menu == MenuItem.Code ? "class='layui-this'" : "")>
                <a asp-controller="Code" asp-action="Index" asp-route-path="" data-pjax><i class="fa fa-code fa-fw"></i>&nbsp;网站源码</a>
            </dd>
            <dd @Html.Raw(menu == MenuItem.Timeline ? "class='layui-this'" : "")>
                <a asp-controller="Home" asp-action="Timeline" data-pjax><i class="fa fa-pagelines fa-fw"></i>&nbsp;时间轴</a>
            </dd>
            <dd @Html.Raw(menu == MenuItem.Friends ? "class='layui-this'" : "")>
                <a asp-controller="Home" asp-action="Friends" data-pjax><i class="fa fa-address-book fa-fw"></i>&nbsp;友情链接</a>
            </dd>
            <dd @Html.Raw(menu == MenuItem.Markdown ? "class='layui-this'" : "")>
                <a asp-controller="Home" asp-action="Markdown" data-pjax><i class="fa fa-map-marker fa-fw"></i>Markdown语法</a>
            </dd>
        </dl>
    </li>
</ul>
loading