2023-10-31 06:03:24
This commit is contained in:
parent
6fa4282a4f
commit
3bd1df82fa
6 changed files with 4 additions and 12 deletions
|
@ -21,6 +21,6 @@
|
||||||
|
|
||||||
.fancybox {
|
.fancybox {
|
||||||
&__container {
|
&__container {
|
||||||
z-index: var(--fancybox-zIndex, 2050);
|
//z-index: var(--fancybox-zIndex, 2050);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
{{ (.Render "view/article.01") }}
|
{{ (.Render "view/article.01") }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ (partial "module/node/modal/article" .) }}
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -144,7 +144,7 @@
|
||||||
)) }}
|
)) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{/* (partial "module/node/toc" .) */}}
|
{{ (partial "module/node/toc" .) }}
|
||||||
|
|
||||||
{{ (.Content) }}
|
{{ (.Content) }}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{{ range (first 1 .) }}
|
{{ range (first 1 .) }}
|
||||||
{{ (.Render "view/article.02") }}
|
{{ (.Render "view/article.02") }}
|
||||||
{{ (partial "module/node/modal/article" .) }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
@ -17,7 +16,6 @@
|
||||||
{{ range ((after 1 .) | first 4) }}
|
{{ range ((after 1 .) | first 4) }}
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{{ (.Render "view/article.02") }}
|
{{ (.Render "view/article.02") }}
|
||||||
{{ (partial "module/node/modal/article" .) }}
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,7 +25,6 @@
|
||||||
{{ range (after 5 .) }}
|
{{ range (after 5 .) }}
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{{ (.Render "view/article.02") }}
|
{{ (.Render "view/article.02") }}
|
||||||
{{ (partial "module/node/modal/article" .) }}
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,9 +5,7 @@
|
||||||
{{ $fit := ((.Params.cover.fit) | default ($cfg.fit)) }}
|
{{ $fit := ((.Params.cover.fit) | default ($cfg.fit)) }}
|
||||||
{{ $src := ((index (.Params.images) 0) | default ($cfg.placeholder)) }}
|
{{ $src := ((index (.Params.images) 0) | default ($cfg.placeholder)) }}
|
||||||
|
|
||||||
<a title="{{ ((.Title) | plainify) }}" class="d-block" href="{{ (.RelPermalink) }}"
|
<a title="{{ ((.Title) | plainify) }}" class="d-block" href="{{ (.RelPermalink) }}">
|
||||||
data-bs-toggle="modal"
|
|
||||||
data-bs-target="#modal-{{ (.File.UniqueID) }}">
|
|
||||||
<img class="d-block rounded"
|
<img class="d-block rounded"
|
||||||
src="{{ ($src) }}?crop={{ ($crop) }}&w={{ ($width) }}&h={{ ($height) }}&fit={{ ($fit) }}&auto=compress,format"
|
src="{{ ($src) }}?crop={{ ($crop) }}&w={{ ($width) }}&h={{ ($height) }}&fit={{ ($fit) }}&auto=compress,format"
|
||||||
width="{{ ($width) }}" height="{{ ($height) }}"
|
width="{{ ($width) }}" height="{{ ($height) }}"
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
(dict "width" "1600" "height" "900")
|
(dict "width" "1600" "height" "900")
|
||||||
) }}
|
) }}
|
||||||
|
|
||||||
<a title="{{ ((.Title) | plainify) }}" class="d-block" href="{{ (.RelPermalink) }}"
|
<a title="{{ ((.Title) | plainify) }}" class="d-block" href="{{ (.RelPermalink) }}">
|
||||||
data-bs-toggle="modal"
|
|
||||||
data-bs-target="#modal-{{ (.File.UniqueID) }}">
|
|
||||||
<picture>
|
<picture>
|
||||||
<source srcset='{{ range $i, $e := ($srcset) }}{{ if $i }},{{ end }}{{ ($src) }}?crop={{ ($crop) }}&w={{ (.width) }}&h={{ (.height) }}&fit={{ ($fit) }}&auto=compress,format {{ (.width) }}w{{ end }}' sizes="(min-width: 576px) 100vw"/>
|
<source srcset='{{ range $i, $e := ($srcset) }}{{ if $i }},{{ end }}{{ ($src) }}?crop={{ ($crop) }}&w={{ (.width) }}&h={{ (.height) }}&fit={{ ($fit) }}&auto=compress,format {{ (.width) }}w{{ end }}' sizes="(min-width: 576px) 100vw"/>
|
||||||
<img class="d-block w-100 h-100 rounded"
|
<img class="d-block w-100 h-100 rounded"
|
||||||
|
|
Loading…
Reference in a new issue