diff --git a/site/layouts/partials/examples/main.html b/site/layouts/partials/examples/main.html index 636cd7e2e8cd..59f35d7cb11b 100644 --- a/site/layouts/partials/examples/main.html +++ b/site/layouts/partials/examples/main.html @@ -14,7 +14,7 @@

{{ $entry.category }}

{{- $len := len $entry.examples -}} {{ if (eq $i 0) }}
{{ end }} {{ if $entry.external -}} -
+

@@ -32,9 +32,9 @@

-
+ {{ else -}} -
+
{{- $exampleNameUrlized := $example.name | urlize -}} {{- $exampleUrl := urls.JoinPath "/docs" $.Site.Params.docs_version "/examples" $exampleNameUrlized "/" }} @@ -55,7 +55,7 @@

{{ $example.description }}

-
+ {{- end }} {{ if (eq (add $i 1) $len) }}
{{ end -}} {{ end -}}