mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
docs: Limit the quotes on front page to the last two years
We should get some new ones in there. Also shuffle the order. This also means no merging into 0.15-docs ... Which also means we should get a release out there ... soon! See #2055 Also See https://github.com/BurntSushi/toml/issues/129 for an explanation to the little bit ugly dates.
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
<div class="col-md-12 text-center">
|
||||
<!-- Wrapper for slides -->
|
||||
<div class="carousel-inner owl-carousel">
|
||||
{{ partial "quotes.html" ($.Site.Data.references.quotes) }}
|
||||
{{ partial "quotes.html" ((where $.Site.Data.references.quotes "date" "ge" ($.Now.AddDate -2 0 0) | shuffle )) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user