Files
Portfolio_Site/layouts/notes/list.html
2026-04-01 10:33:28 +05:45

22 lines
473 B
HTML

{{- define "main" }}
<header class="page-header">
<h1>{{ .Title }}</h1>
{{- if .Description }}
<div class="post-description">{{ .Description }}</div>
{{- end }}
</header>
<ul class="notes-list">
{{- range .Pages }}
<li class="note-item">
<a href="{{ .Permalink }}">
<span class="note-title"># {{ .Title }}</span>
<span class="note-date">{{ .Date.Format "Jan 2, 2006" }}</span>
</a>
</li>
{{- end }}
</ul>
{{- end }}{{/* end main */}}