mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 22:52:25 -05:00 
			
		
		
		
	bwap bwap
This commit is contained in:
		
					parent
					
						
							
								e7325209d2
							
						
					
				
			
			
				commit
				
					
						5e094313df
					
				
			
		
					 1 changed files with 4 additions and 14 deletions
				
			
		|  | @ -80,10 +80,7 @@ | ||||||
| 
 | 
 | ||||||
| {{- define "avatar" -}} | {{- define "avatar" -}} | ||||||
| {{- with . }} | {{- with . }} | ||||||
| <div | <div class="photoswipe-gallery odd single avatar-image-wrapper" role="group"> | ||||||
|     class="photoswipe-gallery odd single avatar-image-wrapper" |  | ||||||
|     role="group" |  | ||||||
| > |  | ||||||
|     <a |     <a | ||||||
|         class="photoswipe-slide" |         class="photoswipe-slide" | ||||||
|         href="{{- .account.Avatar -}}" |         href="{{- .account.Avatar -}}" | ||||||
|  | @ -93,9 +90,7 @@ | ||||||
|         data-cropped="true" |         data-cropped="true" | ||||||
|         title="{{- template "avatarAlt" . -}}" |         title="{{- template "avatarAlt" . -}}" | ||||||
|     > |     > | ||||||
|         <picture |         <picture> | ||||||
|             aria-hidden="true" |  | ||||||
|         > |  | ||||||
|             {{- if .account.AvatarAttachment }} |             {{- if .account.AvatarAttachment }} | ||||||
|             <source |             <source | ||||||
|                 class="avatar" |                 class="avatar" | ||||||
|  | @ -120,10 +115,7 @@ | ||||||
| {{- define "header" -}} | {{- define "header" -}} | ||||||
| {{- with . }} | {{- with . }} | ||||||
| {{- if .account.HeaderAttachment }} | {{- if .account.HeaderAttachment }} | ||||||
| <div | <div class="photoswipe-gallery odd single header-image-wrapper" role="group"> | ||||||
|     class="photoswipe-gallery odd single header-image-wrapper" |  | ||||||
|     role="group" |  | ||||||
| > |  | ||||||
|     <a |     <a | ||||||
|         class="photoswipe-slide" |         class="photoswipe-slide" | ||||||
|         href="{{- .account.Header -}}" |         href="{{- .account.Header -}}" | ||||||
|  | @ -133,9 +125,7 @@ | ||||||
|         data-cropped="true" |         data-cropped="true" | ||||||
|         title="{{- template "headerAlt" . -}}" |         title="{{- template "headerAlt" . -}}" | ||||||
|     > |     > | ||||||
|         <picture |         <picture> | ||||||
|             aria-hidden="true" |  | ||||||
|         > |  | ||||||
|             <source |             <source | ||||||
|                 srcset="{{- .account.HeaderStatic -}}" |                 srcset="{{- .account.HeaderStatic -}}" | ||||||
|                 type="{{- .account.HeaderAttachment.PreviewMIMEType -}}" |                 type="{{- .account.HeaderAttachment.PreviewMIMEType -}}" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue