Initial Commit
This commit is contained in:
20
themes/hugo-coder/layouts/posts/list.html
Normal file
20
themes/hugo-coder/layouts/posts/list.html
Normal file
@ -0,0 +1,20 @@
|
||||
{{ define "title" }}
|
||||
{{ title (i18n (lower .Title)) | default .Title }} · {{ .Site.Title }}
|
||||
{{ end }}
|
||||
{{ define "content" }}
|
||||
<section class="container list">
|
||||
<h1 class="title">
|
||||
<a class="title-link" href="{{ .Permalink | safeURL }}">
|
||||
{{ title (i18n (lower .Title)) | default .Title }}
|
||||
</a>
|
||||
</h1>
|
||||
{{ .Content }}
|
||||
<ul>
|
||||
{{- range .Paginator.Pages -}}
|
||||
{{- .Render "li" -}}
|
||||
{{- end -}}
|
||||
</ul>
|
||||
|
||||
{{ partial "pagination.html" . }}
|
||||
</section>
|
||||
{{ end }}
|
Reference in New Issue
Block a user