Init this site
This commit is contained in:
23
themes/lumbung-theme/layouts/_default/list.html
Normal file
23
themes/lumbung-theme/layouts/_default/list.html
Normal file
@ -0,0 +1,23 @@
|
||||
{{ define "main" }}
|
||||
<section class="entries">
|
||||
<div class="h-feed">
|
||||
{{ range .Pages }}
|
||||
<div class='card'>
|
||||
<article class="h-entry">
|
||||
<header>
|
||||
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h2>
|
||||
<time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time>
|
||||
</header>
|
||||
{{ if .Truncated }}
|
||||
<div class="p-summary truncated">
|
||||
{{ .Summary }}
|
||||
<p><a href="{{ .RelPermalink }}">Read More…</a></p>
|
||||
{{ else }}
|
||||
<div class="p-summary">
|
||||
{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user