aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/term.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/term.html')
-rw-r--r--layouts/_default/term.html31
1 files changed, 12 insertions, 19 deletions
diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index f074844..a76a935 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -1,22 +1,15 @@
{{ define "main" }}
-<div class="taxonomy-term">
- <h2>{{ .Title }}</h2>
+<main>
+ <h2>{{ .Title }}</h2>
- <div class="posts-list">
- {{ range .Pages }}
-
- <li style="list-style-type: none; margin-bottom: 12px">
- <span class="post-date" {{ if .Site.Params.groupByYear }}grouped{{ else }}ungrouped{{ end }}>
- <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
- {{ .Date.Format "2006-01-02" }}
- </time>
- </span>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- </li>
-
- {{ else }}
- <p>该分类下还没有文章。</p>
- {{ end }}
- </div>
-</div>
+ <ul class=blog-posts>
+ {{ range .Pages }}
+ <li>
+ <time datetime={{ .Date.Format "2006-01-02" }}>{{ .Date.Format "2006-01-02" }}</time>
+ <a href={{ .Permalink }}>{{ .Title }}</a>
+ {{ else }}
+ <p>该分类下还没有文章。</p>
+ {{ end }}
+ </ul>
+</main>
{{ end }}