mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-09-08 18:49:12 +00:00
Fix cardv2 dark mode images (#781)
Signed-off-by: Daniel Gray <dng@disroot.org>
This commit is contained in:
parent
70960fdd38
commit
9787a7e022
@ -28,16 +28,20 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p class="card-text">
|
<p class="card-text">
|
||||||
<img
|
<picture>
|
||||||
src="{{include.image}}"
|
|
||||||
{% if include.image-dark %}
|
{% if include.image-dark %}
|
||||||
data-theme-src="{{include.image-dark}}"
|
<source
|
||||||
{% endif %}
|
srcset="{{include.image-dark}}"
|
||||||
height="120"
|
media="(prefers-color-scheme: dark)"
|
||||||
width="120"
|
>{% endif %}
|
||||||
class="panel-pic"
|
<img
|
||||||
alt="{{include.title}} logo"
|
src="{{include.image}}"
|
||||||
>
|
height="120"
|
||||||
|
width="120"
|
||||||
|
class="panel-pic"
|
||||||
|
alt="{{include.title}} logo"
|
||||||
|
>
|
||||||
|
</picture>
|
||||||
{{ include.description }}
|
{{ include.description }}
|
||||||
{% if include.labels %}
|
{% if include.labels %}
|
||||||
{% assign labels = include.labels | split:"|" %}
|
{% assign labels = include.labels | split:"|" %}
|
||||||
|
Loading…
Reference in New Issue
Block a user