summaryrefslogtreecommitdiffstats
path: root/layouts/archives
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/archives')
-rw-r--r--layouts/archives/list.html38
1 files changed, 0 insertions, 38 deletions
diff --git a/layouts/archives/list.html b/layouts/archives/list.html
deleted file mode 100644
index 3fcd2f7..0000000
--- a/layouts/archives/list.html
+++ /dev/null
@@ -1,38 +0,0 @@
-{{ define "main" }}
-<main>
- <div class="container-lg clearfix">
- <!-- list -->
- <div class="col-md-9 col-12 float-left" id="content">
- <div id="page-tag">
- <span>文章总数:{{ len (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}</span>
- </div>
- <!-- archives range in posts -->
- {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) 50 }}
- {{ range $paginator.Pages }}
- <div id="post-archive">
- <h2 id="post-title-archive">
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- </h2>
- <div id="post-meta-archive">
- {{ partial "post-meta.html" . }}
- </div>
- </div>
- {{ end }}
- {{ if gt $paginator.TotalPages 1 }}
- <div id="pagination">
- {{ template "_internal/pagination.html" . }}
- </div>
- {{ end }}
- </div>
- <!-- sidebar -->
- <div class="col-md-3 col-12 float-left" id="sidebar">
- {{ partial "sidebar.html" . }}
- </div>
- <div id="container-progress">
- <a href="javascript:void(0)">
- <div id="progress"></div>
- </a>
- </div>
- </div>
-</main>
-{{ end }} \ No newline at end of file