<%- include('partial/head') %>

<body class="hold-transition sidebar-mini">
  <div class="wrapper">
    <%- include('partial/navbar') %> <%- include('partial/sidebar') %>
    <div class="content-wrapper">
      <!-- Content Header (Page header) -->
      <div class="content-header">
        <div class="container-fluid">
          <div class="row mb-2">
            <div class="col-sm-6">
              <h1 class="m-0">博客概览</h1>
            </div>
            <!-- /.col -->
            <div class="col-sm-6">
              <ol class="breadcrumb float-sm-right">
                <li class="breadcrumb-item"><a href="/dash">控制台</a></li>
                <li class="breadcrumb-item active">博客概览</li>
              </ol>
            </div>
            <!-- /.col -->
          </div>
          <!-- /.row -->
        </div>
        <!-- /.container-fluid -->
      </div>
      <!-- /.content-header -->

      <!-- Main content -->
      <div class="content">
        <div class="container-fluid">
          <div class="row">
            <div class="col-lg-3 col-6">
              <!-- small box -->
              <div class="small-box bg-info">
                <div class="inner">
                  <h3><%= data.length %></h3>
                  <p>文章</p>
                </div>
                <div class="icon">
                  <i class="ion ion-bag"></i>
                </div>
                <a href="/dash/posts" class="small-box-footer"
                  >文章列表 <i class="fas fa-arrow-circle-right"></i
                ></a>
              </div>
            </div>
            <div class="col-lg-6"></div>
            <!-- /.col-md-6 -->
          </div>
          <!-- /.row -->
        </div>
        <!-- /.container-fluid -->
      </div>
      <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->
    <%- include('partial/footer') %>
  </div>
</body>
