2022-10-30 11:31:47 -07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{{- with $photoPage := $.Page.GetPage (printf "photos/%s" (.Get 0)) -}}
							 | 
						
					
						
							
								
									
										
										
										
											2022-11-29 09:06:18 -08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  {{- $thumbnail := partial "photos/thumbnail.html" (dict "Page" . "Width" 1280 "Height" 1280) -}}
							 | 
						
					
						
							
								
									
										
										
										
											2022-11-03 17:03:25 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  {{- $altText := $thumbnail.Params.alt | default .Title -}}
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-26 08:31:14 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  <figure class="figure  figure--image">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <a class="to-photo-post" href="{{ .RelPermalink }}" title="{{ .Title }}">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      <img src="{{ $thumbnail.RelPermalink }}"{{ with $altText }} alt="{{ . }}"{{ end }}>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <figcaption>{{ .Title }}</figcaption>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  </figure>
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-30 11:31:47 -07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{{- else -}}
							 | 
						
					
						
							
								
									
										
										
										
											2022-11-03 17:03:25 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  {{- errorf "No page matching '%s'" (.Get 0) -}}
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-30 11:31:47 -07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{{- end -}}
							 |