mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-29 09:33:33 -06:00
fiddling
This commit is contained in:
parent
143daf2582
commit
e5d6587c23
2 changed files with 30 additions and 15 deletions
|
|
@ -99,6 +99,7 @@
|
|||
playsinline
|
||||
data-pswp-index="{{- .Index -}}"
|
||||
data-pswp-parent-status="{{- .Item.ParentStatusLink -}}"
|
||||
data-pswp-attachment-id="{{- .Item.ID -}}"
|
||||
poster="{{- .Item.PreviewURL -}}"
|
||||
data-pswp-width="{{- .Item.Meta.Original.Width -}}px"
|
||||
data-pswp-height="{{- .Item.Meta.Original.Height -}}px"
|
||||
|
|
@ -117,6 +118,7 @@
|
|||
playsinline
|
||||
data-pswp-index="{{- .Index -}}"
|
||||
data-pswp-parent-status="{{- .Item.ParentStatusLink -}}"
|
||||
data-pswp-attachment-id="{{- .Item.ID -}}"
|
||||
{{- if and .Item.PreviewURL .Item.Meta.Small.Width }}
|
||||
poster="{{- .Item.PreviewURL -}}"
|
||||
data-pswp-width="{{- .Item.Meta.Small.Width -}}px"
|
||||
|
|
@ -138,6 +140,7 @@
|
|||
class="photoswipe-slide"
|
||||
data-pswp-index="{{- .Index -}}"
|
||||
data-pswp-parent-status="{{- .Item.ParentStatusLink -}}"
|
||||
data-pswp-attachment-id="{{- .Item.ID -}}"
|
||||
href="{{- .Item.URL -}}"
|
||||
target="_blank"
|
||||
data-pswp-width="{{- .Item.Meta.Original.Width -}}px"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue