2023-10-31 06:03:24

This commit is contained in:
z17CX 2023-10-31 06:03:24 +00:00
parent 6fa4282a4f
commit 3bd1df82fa
Signed by: z17cx
GPG key ID: 3F5F87C84EE943E4
6 changed files with 4 additions and 12 deletions

View file

@ -21,6 +21,6 @@
.fancybox {
&__container {
z-index: var(--fancybox-zIndex, 2050);
//z-index: var(--fancybox-zIndex, 2050);
}
}

View file

@ -21,7 +21,6 @@
{{ (.Render "view/article.01") }}
{{ end }}
</div>
{{ (partial "module/node/modal/article" .) }}
</div>
{{ end }}
</div>

View file

@ -144,7 +144,7 @@
)) }}
{{ end }}
{{/* (partial "module/node/toc" .) */}}
{{ (partial "module/node/toc" .) }}
{{ (.Content) }}

View file

@ -9,7 +9,6 @@
<div class="col">
{{ range (first 1 .) }}
{{ (.Render "view/article.02") }}
{{ (partial "module/node/modal/article" .) }}
{{ end }}
</div>
<div class="col">
@ -17,7 +16,6 @@
{{ range ((after 1 .) | first 4) }}
<div class="col">
{{ (.Render "view/article.02") }}
{{ (partial "module/node/modal/article" .) }}
</div>
{{ end }}
</div>
@ -27,7 +25,6 @@
{{ range (after 5 .) }}
<div class="col">
{{ (.Render "view/article.02") }}
{{ (partial "module/node/modal/article" .) }}
</div>
{{ end }}
</div>

View file

@ -5,9 +5,7 @@
{{ $fit := ((.Params.cover.fit) | default ($cfg.fit)) }}
{{ $src := ((index (.Params.images) 0) | default ($cfg.placeholder)) }}
<a title="{{ ((.Title) | plainify) }}" class="d-block" href="{{ (.RelPermalink) }}"
data-bs-toggle="modal"
data-bs-target="#modal-{{ (.File.UniqueID) }}">
<a title="{{ ((.Title) | plainify) }}" class="d-block" href="{{ (.RelPermalink) }}">
<img class="d-block rounded"
src="{{ ($src) }}?crop={{ ($crop) }}&amp;w={{ ($width) }}&amp;h={{ ($height) }}&amp;fit={{ ($fit) }}&amp;auto=compress,format"
width="{{ ($width) }}" height="{{ ($height) }}"

View file

@ -12,9 +12,7 @@
(dict "width" "1600" "height" "900")
) }}
<a title="{{ ((.Title) | plainify) }}" class="d-block" href="{{ (.RelPermalink) }}"
data-bs-toggle="modal"
data-bs-target="#modal-{{ (.File.UniqueID) }}">
<a title="{{ ((.Title) | plainify) }}" class="d-block" href="{{ (.RelPermalink) }}">
<picture>
<source srcset='{{ range $i, $e := ($srcset) }}{{ if $i }},{{ end }}{{ ($src) }}?crop={{ ($crop) }}&amp;w={{ (.width) }}&amp;h={{ (.height) }}&amp;fit={{ ($fit) }}&amp;auto=compress,format {{ (.width) }}w{{ end }}' sizes="(min-width: 576px) 100vw"/>
<img class="d-block w-100 h-100 rounded"