| 
									
										
										
										
											2023-07-30 12:53:06 +01:00
										 |  |  | {{/* Article navigation on the footer of the article */}} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-20 19:20:24 +01:00
										 |  |  | {{- $reversePagination := .Scratch.Get "reversePagination" | default false -}} | 
					
						
							| 
									
										
										
										
											2023-08-09 22:36:20 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | {{- $prev := cond $reversePagination .PrevInSection .NextInSection -}} | 
					
						
							|  |  |  | {{- $next := cond $reversePagination .NextInSection .PrevInSection -}} | 
					
						
							| 
									
										
										
										
											2023-08-20 19:20:24 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-05 04:13:49 +09:00
										 |  |  | {{- if eq .Params.prev false }} | 
					
						
							|  |  |  |   {{- if $reversePagination }}{{ $next = false }}{{ else }}{{ $prev = false }}{{ end -}} | 
					
						
							|  |  |  | {{ else }} | 
					
						
							|  |  |  |   {{- with .Params.prev -}} | 
					
						
							|  |  |  |     {{- with $.Site.GetPage . -}} | 
					
						
							|  |  |  |       {{- if $reversePagination }}{{ $next = . }}{{ else }}{{ $prev = . }}{{ end -}} | 
					
						
							|  |  |  |     {{- end -}} | 
					
						
							| 
									
										
										
										
											2023-08-20 19:20:24 +01:00
										 |  |  |   {{- end -}} | 
					
						
							|  |  |  | {{- end -}} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-05 04:13:49 +09:00
										 |  |  | {{- if eq .Params.next false }} | 
					
						
							|  |  |  |   {{- if $reversePagination }}{{ $prev = false }}{{ else }}{{ $next = false }}{{ end -}} | 
					
						
							|  |  |  | {{ else }} | 
					
						
							|  |  |  |   {{- with .Params.next -}} | 
					
						
							|  |  |  |     {{- with $.Site.GetPage . -}} | 
					
						
							|  |  |  |       {{- if $reversePagination }}{{ $prev = . }}{{ else }}{{ $next = . }}{{ end -}} | 
					
						
							|  |  |  |     {{- end -}} | 
					
						
							| 
									
										
										
										
											2023-08-20 19:20:24 +01:00
										 |  |  |   {{- end -}} | 
					
						
							|  |  |  | {{- end -}} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-30 12:53:06 +01:00
										 |  |  | {{- if or $prev $next -}} | 
					
						
							| 
									
										
										
										
											2024-02-20 17:59:31 -05:00
										 |  |  |   <div class="hx-mb-8 hx-flex hx-items-center hx-border-t hx-pt-8 dark:hx-border-neutral-800 contrast-more:hx-border-neutral-400 dark:contrast-more:hx-border-neutral-400 print:hx-hidden"> | 
					
						
							| 
									
										
										
										
											2023-07-30 12:53:06 +01:00
										 |  |  |     {{- if $prev -}} | 
					
						
							| 
									
										
										
										
											2024-03-19 22:16:10 +00:00
										 |  |  |       {{- $linkTitle := partial "utils/title" $prev -}} | 
					
						
							| 
									
										
										
										
											2023-08-27 17:32:44 +01:00
										 |  |  |       <a | 
					
						
							|  |  |  |         href="{{ $prev.RelPermalink }}" | 
					
						
							| 
									
										
										
										
											2024-03-19 22:16:10 +00:00
										 |  |  |         title="{{ $linkTitle }}" | 
					
						
							| 
									
										
										
										
											2024-02-20 17:59:31 -05:00
										 |  |  |         class="hx-flex hx-max-w-[50%] hx-items-center hx-gap-1 hx-py-4 hx-text-base hx-font-medium hx-text-gray-600 hx-transition-colors [word-break:break-word] hover:hx-text-primary-600 dark:hx-text-gray-300 md:hx-text-lg ltr:hx-pr-4 rtl:hx-pl-4" | 
					
						
							| 
									
										
										
										
											2023-08-27 17:32:44 +01:00
										 |  |  |       > | 
					
						
							| 
									
										
										
										
											2024-02-20 17:59:31 -05:00
										 |  |  |         {{- partial "utils/icon.html" (dict "name" "chevron-right" "attributes" "class=\"hx-inline hx-h-5 hx-shrink-0 ltr:hx-rotate-180\"") -}} | 
					
						
							| 
									
										
										
										
											2024-03-19 22:16:10 +00:00
										 |  |  |         {{- $linkTitle -}} | 
					
						
							| 
									
										
										
										
											2023-07-30 12:53:06 +01:00
										 |  |  |       </a> | 
					
						
							|  |  |  |     {{- end -}} | 
					
						
							|  |  |  |     {{- if $next -}} | 
					
						
							| 
									
										
										
										
											2024-03-19 22:16:10 +00:00
										 |  |  |       {{- $linkTitle := partial "utils/title" $next -}} | 
					
						
							| 
									
										
										
										
											2023-08-27 17:32:44 +01:00
										 |  |  |       <a | 
					
						
							|  |  |  |         href="{{ $next.RelPermalink }}" | 
					
						
							| 
									
										
										
										
											2024-03-19 22:16:10 +00:00
										 |  |  |         title="{{ $linkTitle }}" | 
					
						
							| 
									
										
										
										
											2024-02-20 17:59:31 -05:00
										 |  |  |         class="hx-flex hx-max-w-[50%] hx-items-center hx-gap-1 hx-py-4 hx-text-base hx-font-medium hx-text-gray-600 hx-transition-colors [word-break:break-word] hover:hx-text-primary-600 dark:hx-text-gray-300 md:hx-text-lg ltr:hx-ml-auto ltr:hx-pl-4 ltr:hx-text-right rtl:hx-mr-auto rtl:hx-pr-4 rtl:hx-text-left" | 
					
						
							| 
									
										
										
										
											2023-08-27 17:32:44 +01:00
										 |  |  |       > | 
					
						
							| 
									
										
										
										
											2024-03-19 22:16:10 +00:00
										 |  |  |         {{- $linkTitle -}} | 
					
						
							| 
									
										
										
										
											2024-02-20 17:59:31 -05:00
										 |  |  |         {{- partial "utils/icon.html" (dict "name" "chevron-right" "attributes" "class=\"hx-inline hx-h-5 hx-shrink-0 rtl:-hx-rotate-180\"") -}} | 
					
						
							| 
									
										
										
										
											2023-07-30 12:53:06 +01:00
										 |  |  |       </a> | 
					
						
							|  |  |  |     {{- end -}} | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | {{- end -}} |