bwap bwap

This commit is contained in:
tobi 2025-04-11 11:41:25 +02:00
parent e7325209d2
commit 5e094313df

View file

@ -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 -}}"