-
Notifications
You must be signed in to change notification settings - Fork 0
/
categories.tmpl
49 lines (48 loc) · 1.96 KB
/
categories.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{{- define "SumiMakito_Journal/categories" -}}
{{template "SumiMakito_Journal/layout/_include/head.ftl" .}}
{{template "SumiMakito_Journal/layout/_include/container_head" .}}
{{template "SumiMakito_Journal/layout/_include/single_column_head" .}}
{{template "SumiMakito_Journal/layout/_include/side_nav" .}}
<div ref="extraContainer" class="extra-container">
<div class="pagination">
<a id="globalBackToTop" class="pagination-action animated-visibility" href="#top"
:class="{ invisible: scrollY == 0 }">
<i class="material-icons pagination-action-icon">
keyboard_arrow_up
</i>
</a>
</div>
</div>
<div ref="streamContainer" class="stream-container">
<div class="post-list-container post-list-container-shadow">
<a class="a-block">
<div class="post-item-wrapper post-item-wrapper-no-hover">
<div class="post-item post-item-no-gaps">
<div class="post-item-info-wrapper">
<div class="post-item-title post-item-title-small">
分类
</div>
</div>
</div>
</div>
</a>
{{$categories:=listCategory}}
{{range $category:=$categories}}
<a href="{{$category.FullPath}}" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-gaps">
<div class="post-item-info-wrapper">
<div class="post-item-title">
{{$category.Name}}
</div>
</div>
</div>
</div>
</a>
{{end}}
</div>
{{template "SumiMakito_Journal/single_column_footer" .}}
</div>
{{template "SumiMakito_Journal/layout/_include/container_tail" .}}
{{template "SumiMakito_Journal/layout/_include/tail" .}}
{{- end -}}