init commit
This commit is contained in:
34
layouts/_default/list.html
Normal file
34
layouts/_default/list.html
Normal file
@@ -0,0 +1,34 @@
|
||||
{{ define "main" }}
|
||||
<div id="content" class="site-content">
|
||||
<div class="ctb-content-sidebar u-wrapper">
|
||||
<main id="primary" class="site-main">
|
||||
<article class="ctb-article ctb-singular page type-page hentry">
|
||||
{{ partial "title.html" . }}
|
||||
<div class="ctb-content">
|
||||
<div class="entry-content">
|
||||
<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">
|
||||
<svg class="svg-icon" width="16" height="16" viewBox="0 0 .48 .48" fill="none" stroke="#fff" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M.024.168h.432M.12.024v.048M.36.024v.048M.096.24h.048m.072 0h.048m.072 0h.048M.096.312h.048m.072 0h.048m.072 0h.048M.096.384h.048m.072 0h.048m.072 0h.048M.101.456h.278c.027 0 .04 0 .05-.005A.048.048 0 00.452.43C.456.42.456.406.456.38V.148c0-.027 0-.04-.005-.05A.048.048 0 00.43.076C.42.072.406.072.38.072H.1c-.026 0-.04 0-.05.005a.048.048 0 00-.02.021C.023.108.023.122.023.148V.38c0 .027 0 .04.005.05A.048.048 0 00.05.452C.06.456.074.456.1.456z" stroke-width=".048" stroke-linecap="round"/>
|
||||
</svg>
|
||||
{{ .PublishDate.Format "Jan 2, 2006" }}
|
||||
<span class="posts-list-item-separator">-</span>
|
||||
<svg class="svg-icon" width="16" height="16" viewBox="0 0 6 6" fill="none" stroke="#fff" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3 4.448V3l-.734-.434M5.642 3c0 1.44-1.183 2.606-2.642 2.606C1.541 5.606.358 4.44.358 3 .358 1.56 1.541.394 3 .394 4.459.394 5.642 1.56 5.642 3z" stroke-width=".583" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
{{ .ReadingTime }} min read
|
||||
</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "pagination.html" $ }}
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user