All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			
		
			
				
	
	
		
			28 lines
		
	
	
		
			820 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			820 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{{ define "main" }}
 | 
						||
<main>
 | 
						||
 | 
						||
    <h1 class="page-title">{{ .Title }}</h1>
 | 
						||
 | 
						||
Here’s a sitemap of informational articles and papers in reversed chronological order:
 | 
						||
 | 
						||
    {{- if .Pages -}}
 | 
						||
        {{- $pages := (where .Pages ".Draft" false) -}}
 | 
						||
 | 
						||
        {{- /* Use site config params for posts per page if available, otherwise default */ -}}
 | 
						||
        {{- with .Site.Params.list.paginate | default .Site.Params.paginate -}}
 | 
						||
            {{- $pages = $.Paginate $pages . -}}
 | 
						||
        {{- else -}}
 | 
						||
            {{- $pages = .Paginate $pages -}}
 | 
						||
        {{- end -}}
 | 
						||
 | 
						||
        <ul>
 | 
						||
        {{- range $pages.Pages -}}
 | 
						||
        <li><a href="{{ .Permalink }}"><time>{{ .Date.Format "2006-01-02"}}</time> - {{.Title}}</a></li>
 | 
						||
        {{- end -}}
 | 
						||
        </ul>
 | 
						||
 | 
						||
        {{ partial "pagination.html" . }}
 | 
						||
    {{- end -}}
 | 
						||
</main>
 | 
						||
{{ end }}
 |