I can't quite debug this stuff: works locally
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				ci/woodpecker/push/main Pipeline failed
				
			
		
		
	
	
		
	
		
			Some checks failed
		
		
	
	ci/woodpecker/push/main Pipeline failed
				
			This commit is contained in:
		
					parent
					
						
							
								89721a34ca
							
						
					
				
			
			
				commit
				
					
						b4387bf01a
					
				
			
		
					 1 changed files with 4 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -1,11 +1,9 @@
 | 
			
		|||
<div class="gallery flex justify-center">
 | 
			
		||||
{{ range $param := .Params }}
 | 
			
		||||
  {{ $image :=  resources.GetMatch ($param) }}
 | 
			
		||||
  {{ $size := "x350" }}
 | 
			
		||||
  {{ $options := printf "%s %s %s" $size "png q90" "Box"}}
 | 
			
		||||
  {{ $imagethumbnail := $image.Resize $options}}
 | 
			
		||||
  <a href="{{ $image.RelPermalink }}">
 | 
			
		||||
    <img class="thumbnail w6 pa1 mr1" src="{{ $imagethumbnail.RelPermalink }}" style="width: 95% !important;" />
 | 
			
		||||
  {{ $image := resources.GetMatch ($param) }}
 | 
			
		||||
  {{ $processed := $image.Resize ( printf "x%d %s %s %s" 350 "jpg" "q90" "Box" ) }}
 | 
			
		||||
      <a href="{{ $image.RelPermalink }}">
 | 
			
		||||
        <img class="thumbnail w6 pa1 mr1" src="{{ $processed.RelPermalink }}" style="width: 95% !important;" />
 | 
			
		||||
  </a>
 | 
			
		||||
{{ end }}
 | 
			
		||||
</div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue