|  | @@ -30,12 +30,13 @@
 | 
											
												
													
														|  |  			</div>
 |  |  			</div>
 | 
											
												
													
														|  |  		</article>
 |  |  		</article>
 | 
											
												
													
														|  |  		<div class="post-nav">
 |  |  		<div class="post-nav">
 | 
											
												
													
														|  | -			{{- with .NextInSection }}
 |  | 
 | 
											
												
													
														|  | 
 |  | +			{{ $list := (where site.RegularPages "Type" "in" "gallery") }}
 | 
											
												
													
														|  | 
 |  | +			{{- with ($list.ByParam "shot_date").Reverse.Next . }}
 | 
											
												
													
														|  |  			<a class="next-post" href="{{ .Permalink }}">
 |  |  			<a class="next-post" href="{{ .Permalink }}">
 | 
											
												
													
														|  |  				<span class="post-nav-label"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg> Newer</span><br><span>{{ .Title }}</span>
 |  |  				<span class="post-nav-label"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg> Newer</span><br><span>{{ .Title }}</span>
 | 
											
												
													
														|  |  			</a>
 |  |  			</a>
 | 
											
												
													
														|  |  			{{- end }}
 |  |  			{{- end }}
 | 
											
												
													
														|  | -			{{- with .PrevInSection }}
 |  | 
 | 
											
												
													
														|  | 
 |  | +			{{- with ($list.ByParam "shot_date").Reverse.Prev . }}
 | 
											
												
													
														|  |  			<a class="prev-post" href="{{ .Permalink }}">
 |  |  			<a class="prev-post" href="{{ .Permalink }}">
 | 
											
												
													
														|  |  				<span class="post-nav-label">Older <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></span><br><span>{{ .Title }}</span>
 |  |  				<span class="post-nav-label">Older <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></span><br><span>{{ .Title }}</span>
 | 
											
												
													
														|  |  			</a>
 |  |  			</a>
 |