mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-02 21:32:15 +00:00
Commit theme
This commit is contained in:
parent
1ec1007169
commit
690a3ff983
46 changed files with 2443 additions and 0 deletions
20
themes/m10c/layouts/_default/list.html
Normal file
20
themes/m10c/layouts/_default/list.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{{ define "main" }}
|
||||
<article>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<ul class="posts-list">
|
||||
{{ range where .Paginator.Pages "Type" "!=" "page" }}
|
||||
<li class="posts-list-item">
|
||||
<a class="posts-list-item-title" href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
<span class="posts-list-item-description">
|
||||
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }}
|
||||
{{ .PublishDate.Format "Jan 2, 2006" }}
|
||||
-
|
||||
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }}
|
||||
{{ .ReadingTime }} min read
|
||||
</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ partial "pagination.html" $ }}
|
||||
</article>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue