This commit is contained in:
28
layouts/_default/list.html
Normal file
28
layouts/_default/list.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{{ define "main" }}
|
||||
<section class="section page-header">
|
||||
<p class="eyebrow">Collection</p>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Content }}
|
||||
<div class="section-text">{{ . }}</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="card-grid">
|
||||
{{ range .Pages.ByWeight }}
|
||||
<article class="project-card">
|
||||
<p class="meta">{{ .Date.Format "Jan 2, 2006" }}</p>
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||
<p>{{ with .Params.summary }}{{ . }}{{ else }}{{ .Description }}{{ end }}</p>
|
||||
{{ with .Params.tags }}
|
||||
<ul class="tag-list">
|
||||
{{ range . }}
|
||||
<li>{{ . }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user