22 lines
		
	
	
		
			516 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			516 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {{ define "main" }}
 | |
|   <article>
 | |
|     {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
 | |
|     <time datetime="{{ $dateMachine }}">{{ .PublishDate.Format "2 January 2006" }}</time>
 | |
| 
 | |
|     <h1>{{ .Title }}</h1>
 | |
| 
 | |
|     <div class="barcode">
 | |
|       {{ .Params.url }}
 | |
|     </div>
 | |
| 
 | |
|     {{ with .Params.cover }}
 | |
|       <div class="cover" style="background-image:url('{{ . }}');"></div>
 | |
|     {{ end }}
 | |
| 
 | |
|       {{ .Content }}
 | |
| 
 | |
|     {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
 | |
|   </article>
 | |
|   
 | |
| {{ end }}
 |