mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
ec4e6f9df2
git-subtree-dir: docs git-subtree-split: f887bd7b4e3e7c7e76cd63951e5b0d37d8fe0ac7
25 lines
907 B
HTML
25 lines
907 B
HTML
<div class="flex-ns flex-wrap center mw9">
|
|
|
|
{{ $interior_classes := $.Site.Params.flex_box_interior_classes }}
|
|
|
|
<h3 class="f2 fw4 white">See what others are saying about Hugo…</h3>
|
|
|
|
<div class="flex-ns flex-wrap justify-between">
|
|
|
|
{{ range first 4 (sort $.Site.Data.homepagetweets.tweet "date" "desc" ) }}
|
|
<div class="homepage-tweet relative {{ $interior_classes }} br1 mid-gray pv3 nested-links shadow-5">
|
|
<div class="absolute top-0 left-0 ma2 o-10">
|
|
{{ partial "svg/twitter.svg" . }}
|
|
</div>
|
|
<blockquote>
|
|
<p class="f4">
|
|
{{.quote | safeHTML}}
|
|
</p>
|
|
<cite class="homepage-tweet-attribution gray f6">─ {{ .name }} ({{ .twitter_handle }}) <a href="{{ .link }}">
|
|
{{ dateFormat "January 2, 2006" .date }}</a>
|
|
</cite>
|
|
</blockquote>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|