diff --git a/layouts/partials/docs/article.html b/layouts/partials/docs/article.html index 783fcea..e7159df 100644 --- a/layouts/partials/docs/article.html +++ b/layouts/partials/docs/article.html @@ -1,5 +1,3 @@ -{{ $desc := .Params.description -}} -{{ $source := printf "https://github.com/grpc/grpc.io/tree/%s/content/%s" $.Site.Params.branch .File.Path -}} @@ -8,26 +6,7 @@ {{/* Why is-clipped? See https://github.com/grpc/grpc.io/issues/185 */}} - - - - - {{- .Title -}} - - - - - - - {{ with $desc -}} - - {{- . -}} - - {{ end -}} - - - - + {{ partial "docs/hero.html" . }} diff --git a/layouts/partials/docs/hero.html b/layouts/partials/docs/hero.html new file mode 100644 index 0000000..578d7df --- /dev/null +++ b/layouts/partials/docs/hero.html @@ -0,0 +1,21 @@ +{{ $desc := .Params.description -}} +{{ $source := printf "https://github.com/grpc/grpc.io/tree/%s/content/%s" $.Site.Params.branch .File.Path -}} + + + + + {{- .Title -}} + + + + + + + {{ with $desc -}} + + {{- . -}} + + {{ end -}} + + + \ No newline at end of file
- {{- .Title -}} - - - - - -
- {{- . -}} -
+ {{- .Title -}} + + + + + +
+ {{- . -}} +