mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-04 18:38:30 +02:00
moved pricing pages files
# Conflicts: # qdrant-landing/themes/qdrant-2024/layouts/partials/testimonial-light.html
This commit is contained in:
@@ -3,16 +3,20 @@
|
||||
<div class="qdrant-blog-posts__articles row gx-5">
|
||||
{{ $all := ($.Site.GetPage "blog" .Section).Pages.ByPublishDate.Reverse }}
|
||||
|
||||
|
||||
<!-- Remove first 4 featured posts from $all -->
|
||||
{{ $featured := where $all ".Params.featured" true }}
|
||||
{{ $notFeatured := where $all ".Params.featured" false }}
|
||||
|
||||
|
||||
<!-- All but first 4 featured posts -->
|
||||
{{ $oldFeatured := after 4 $featured }}
|
||||
|
||||
|
||||
<!-- Concatenate old featured post with all non-featured -->
|
||||
{{ $allBut4Featured := $oldFeatured | append $notFeatured }}
|
||||
|
||||
|
||||
<!-- Sort by publish date again -->
|
||||
{{ $allBut4Featured := $allBut4Featured.ByPublishDate.Reverse }}
|
||||
|
||||
@@ -25,6 +29,7 @@
|
||||
{{ $link = .Params.external_link }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
<article class="qdrant-blog-posts__article post col-12 col-lg-4">
|
||||
<a class="post-link" href="{{ .RelPermalink }}">
|
||||
{{ if .Params.preview_image }}
|
||||
@@ -40,7 +45,6 @@
|
||||
</div>
|
||||
</a>
|
||||
</article>
|
||||
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user