Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/4ever9/less.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/taxonomy.html')
-rw-r--r--layouts/_default/taxonomy.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
new file mode 100644
index 0000000..1d20ddd
--- /dev/null
+++ b/layouts/_default/taxonomy.html
@@ -0,0 +1,24 @@
+{{ define "main" }}
+ <div class="container">
+ <div class="main">
+ <div class="taxonomy-name">
+ #{{.Name}}(共{{ len .Data.Pages }}篇)
+ </div>
+ {{ range (.RegularPages.GroupByDate "2006") }}
+ <div class="posts">
+ <div class="year">{{ .Key }}</div>
+ {{ range .Pages }}
+ <div class="post">
+ <a class="post-title" href="{{.Permalink}}">
+ {{.Title}}
+ </a>
+ <span class="post-date">
+ {{ .Date.Format "Jan 02" }}
+ </span>
+ </div>
+ {{ end }}
+ </div>
+ {{ end }}
+ </div>
+ </div>
+{{ end }} \ No newline at end of file