copy-colle le code sur le doublon
This commit is contained in:
parent
27f9ede96c
commit
a2f33032b6
1 changed files with 2 additions and 2 deletions
|
@ -17,10 +17,10 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="scrolling-posts {{ $direction }}-scroll">s
|
<div class="scrolling-posts {{ $direction }}-scroll">
|
||||||
{{- $pages := where $context.Site.RegularPages "Section" "ne" "" -}}
|
{{- $pages := where $context.Site.RegularPages "Section" "ne" "" -}}
|
||||||
{{- range (sort $pages "Date" "desc") -}}
|
{{- range (sort $pages "Date" "desc") -}}
|
||||||
<a href="{{ .RelPermalink }}" class="scrolling-posts-item" style="background-image: url('{{ .Permalink }}{{ .Params.cover.image }}');">
|
<a href="{{ .RelPermalink }}" class="scrolling-posts-item" style="background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0.2)), url('{{ .Permalink }}{{ .Params.cover.image }}');">
|
||||||
<span class="section-badge">{{ .Section }}</span>
|
<span class="section-badge">{{ .Section }}</span>
|
||||||
<span class="scrolling-posts-item-title">{{ .Title }}</span>
|
<span class="scrolling-posts-item-title">{{ .Title }}</span>
|
||||||
<p class="scrolling-posts-date">{{ .Date.Format "2006-01-02" }}</p>
|
<p class="scrolling-posts-date">{{ .Date.Format "2006-01-02" }}</p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue