2024-06-09 18:36:54 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{{- $scratch := newScratch -}}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{{- partial "geturl.html" (dict "scratch" $scratch "path" (.Get 1)) -}}
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-21 21:31:37 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{{- $groupconfig := dict
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-09 18:36:54 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								       "url" ($scratch.Get "bestUrl")
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								       "basePath" ($scratch.Get "bestPath")
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-21 20:39:21 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								       "path" (.Get 1)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								       "comment" ", entire file"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								       "code" (readFile (printf "code/%s" (.Get 1)))
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								       "language" (.Get 0)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								       "opts" "linenos=table"
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-21 21:31:37 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								-}}
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-09 18:36:54 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{{- partial "highlightgroup.html" $groupconfig -}}
							 |