From ccd827d3e4a5375c6b721324da8bf9c8fb44a177 Mon Sep 17 00:00:00 2001 From: lucperkins Date: Mon, 7 Jan 2019 10:49:48 -0800 Subject: [PATCH] Add secondary features section Signed-off-by: lucperkins --- config.toml | 22 +++++++++++++++++++--- layouts/partials/home/features.html | 24 ++++++++++++++++++++++-- 2 files changed, 41 insertions(+), 5 deletions(-) diff --git a/config.toml b/config.toml index 3fbcf6069ca58..760961e2396df 100644 --- a/config.toml +++ b/config.toml @@ -34,21 +34,37 @@ panel = "https://raw.githubusercontent.com/cncf/artwork/master/etcd/icon/color/ [params.social] github = "https://github.com/etcd-io/etcd" -[[params.features]] +[[params.features.primary]] title = "Simple interface" svg = "interface" description = "Read and write values using standard HTTP tools, such as curl" -[[params.features]] +[[params.features.primary]] title = "Key-value storage" svg = "kv" description = "Store data in hierarchically organized directories, as in a standard filesystem" -[[params.features]] +[[params.features.primary]] title = "Watch for changes" svg = "watch" description = "Watch specific keys or directories for changes and react to changes in values" +[[params.features.secondary]] +text = "Optional SSL client certificate authentication" +icon = "lock" + +[[params.features.secondary]] +text = "Benchmarked at 1000s of writes/s per instance" +icon = "chart-bar" + +[[params.features.secondary]] +text = "Optional TTLs for keys expiration" +icon = "clock" + +[[params.features.secondary]] +text = "Properly distributed via Raft protocol" +icon = "arrows-alt" + [[params.fonts]] name = "Source Sans Pro" sizes = [300,400,600,700] diff --git a/layouts/partials/home/features.html b/layouts/partials/home/features.html index 4860c2134efea..66ec3d81611c1 100644 --- a/layouts/partials/home/features.html +++ b/layouts/partials/home/features.html @@ -1,4 +1,6 @@ -{{ $features := .Site.Params.features }} +{{ $features := .Site.Params.features }} +{{ $primary := $features.primary }} +{{ $secondary := $features.secondary }}

@@ -8,7 +10,7 @@


- {{ range $features }} + {{ range $primary }} {{ $svg := printf "static/img/%s.svg" .svg }}

@@ -25,5 +27,23 @@

{{ end }}
+ +
+ +
+ {{ range $secondary }} +
+ + + + +

+ +

+ {{ .text }} +

+
+ {{ end }} +