about: Clean up the markup a little bit
I'm still not happy with the circular image. It's not aligned like I would like.
This commit is contained in:
		
							parent
							
								
									3f436085a3
								
							
						
					
					
						commit
						0877f504b3
					
				
					 2 changed files with 10 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,8 @@
 | 
			
		|||
{{- $resized_img := $img.Resize (printf "%dx%d" $width $width) -}}
 | 
			
		||||
<img
 | 
			
		||||
  {{ with $id }}id="{{ . }}"{{ end }}
 | 
			
		||||
  class="circular{{ with $classes }} {{ . }}{{ end }}"
 | 
			
		||||
  class="img--circular{{ with $classes }}  {{ . }}{{ end }}"
 | 
			
		||||
  src="{{ $img.RelPermalink }}"
 | 
			
		||||
  {{ with $alt }}alt="{{ . }}"{{ end }}
 | 
			
		||||
  width="{{ $width }}" height="{{ $width }}">
 | 
			
		||||
  width="{{ $width }}"
 | 
			
		||||
  height="{{ $width }}">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue