mirror of
				https://github.com/Brandon-Rozek/website-theme.git
				synced 2025-11-04 03:21:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			654 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			654 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{{ define "main"}}
 | 
						|
  {{ partial "header.html" . }}
 | 
						|
  <main>
 | 
						|
    {{ partial "search.html" . }}
 | 
						|
    <!-- contents -->
 | 
						|
    <div id="feedList" class="block-center">
 | 
						|
      {{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
 | 
						|
      {{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
 | 
						|
      {{ range .Pages }}
 | 
						|
        <article class="h-entry">
 | 
						|
          <h2 class='title p-name'><a class="u-url" href="{{ .Permalink }}">{{ .Title }}</a></h2>
 | 
						|
          {{ .Scratch.Set "noDateUpdate" true }}
 | 
						|
          {{ partial "date.html" . }}
 | 
						|
        </article>
 | 
						|
      {{ end }}
 | 
						|
      {{ end }}
 | 
						|
    </div>
 | 
						|
  </main>
 | 
						|
{{ end }}
 |