From 10bb58b76eb2ed39acf1795429194fc5968f20c1 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Mon, 15 Jun 2020 16:43:10 -0400 Subject: [PATCH] Announce gRPC Conf 2020 on every page (#284) --- config.yaml | 2 ++ layouts/_default/baseof.html | 1 + layouts/partials/banner.html | 17 +++++++++++++++++ layouts/partials/external-link.html | 1 + 4 files changed, 21 insertions(+) create mode 100644 layouts/partials/banner.html create mode 100644 layouts/partials/external-link.html diff --git a/config.yaml b/config.yaml index 0062101..258d238 100644 --- a/config.yaml +++ b/config.yaml @@ -11,6 +11,8 @@ params: font_awesome_version: 5.12.1 description: A high-performance, open source universal RPC framework + show_banner: true + social: gitter: https://gitter.im/grpc/grpc reddit: https://www.reddit.com/r/grpc diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8fb2f8d..cf19612 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,6 +14,7 @@
{{ partial "navbar.html" . }} + {{ partial "banner.html" -}} {{ block "main" . }} {{ end }}
diff --git a/layouts/partials/banner.html b/layouts/partials/banner.html new file mode 100644 index 0000000..6368e55 --- /dev/null +++ b/layouts/partials/banner.html @@ -0,0 +1,17 @@ +{{ if site.Params.show_banner -}} +
+ +
+{{ end -}} diff --git a/layouts/partials/external-link.html b/layouts/partials/external-link.html new file mode 100644 index 0000000..2998bca --- /dev/null +++ b/layouts/partials/external-link.html @@ -0,0 +1 @@ + \ No newline at end of file