Display the Labs page explanation, list up the articles on the Labs page.

This commit is contained in:
Kazuhiro MUSASHI 2019-04-09 07:24:03 +08:00
parent d42a8e4085
commit 45c958bcdd
1 changed files with 19 additions and 0 deletions

19
layouts/labs/list.html Normal file
View File

@ -0,0 +1,19 @@
{{ partial "header.html" . }}
<!-- Main Section Layout
-->
<main id="list" role="main">
<div class="article-header light-gray"><h1>{{ .Title }}</h1></div>
{{.Content}}
<br>
{{ range .Data.Pages }}
<div class="summary">
<h2><a href="{{ .Permalink }}">{{ .Title }} {{ if .Draft }}:: DRAFT{{end}}</a></h2>
<div class="meta">
{{ .Date.Format "Jan 2, 2006" }}: {{.Description}}
</div>
</div>
{{ end }}
</main>
{{ partial "footer.html" . }}