fix(landing): minor style change
This commit is contained in:
parent
e4574886bb
commit
010bf07f2b
4 changed files with 29 additions and 8 deletions
|
|
@ -295,7 +295,7 @@
|
|||
</div>
|
||||
<div class="page-container end-action-container">
|
||||
<a
|
||||
href="/histoires"
|
||||
href="/documentation/histoire"
|
||||
class="button button-sm button-light">
|
||||
L'Histoire en détails
|
||||
</a>
|
||||
|
|
@ -437,11 +437,12 @@
|
|||
</div>
|
||||
</div>
|
||||
{{ end }}{{ end }}
|
||||
</div>
|
||||
<div class="separator news-separator"></div>
|
||||
</div>
|
||||
<div class="separator news-separator"></div>
|
||||
|
||||
<div class="secondary-news">
|
||||
{{ range $index, $element := $news }}{{ if (and (gt $index 0) (lt $index 3)) }}
|
||||
<div class="secondary-news">
|
||||
{{ range $index, $element := $news }}
|
||||
{{ if (and (gt $index 0) (lt $index 3)) }}
|
||||
{{ $featuredImage := (resources.Get (printf "%s" ("cover/cover.jpg" | safeURL))) }}
|
||||
{{ with $element.Params.featured_image }}
|
||||
{{ $featuredImage = $element.Resources.GetMatch .src }}
|
||||
|
|
@ -476,7 +477,15 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="end-action-container">
|
||||
<a
|
||||
href="/actualites"
|
||||
class="button button-sm button-light">
|
||||
Voir toutes les news
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue