dairy | new theme
This commit is contained in:
parent
5ae63a1d7d
commit
6c3a14b311
65 changed files with 5028 additions and 0 deletions
34
themes/diary/layouts/_default/section.html
Normal file
34
themes/diary/layouts/_default/section.html
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{{ define "main" }}
|
||||
<div ref="streamContainer" class="stream-container">
|
||||
<div class="post-list-container post-list-container-shadow">
|
||||
{{ range .Paginator.Pages.GroupByDate "2006" }}
|
||||
<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 year">
|
||||
{{ .Key }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
{{ range .Pages }}
|
||||
<a href="{{ .RelPermalink }}" 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">
|
||||
{{.Title}}
|
||||
</div>
|
||||
{{ partial "post-item-meta.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue