{{ template "discours-posts" (dict "page" . "category" "announcements" "count" "3") }}
{{ template "discours-posts" (dict "page" . "category" "usability" "count" "3" "heading" "Discussions") }}
{{/*
Latest Benchmarks
{{ template "latest-pages" . }}
*/}}
{{ define "discours-posts" }}
{{/*
{{ if .heading }}
{{ .heading }}
{{ else }}
{{ .category | humanize }}
{{ end }}
*/}}
{{ end }}
{{ define "latest-pages" }}
{{ range first 8 (where .Site.RegularPages "CurrentSection.RelPermalink" "/docs/benchmarks/").ByLastmod.Reverse }}
-
{{ .Title }}
{{ end }}
{{ end }}