From 73a31f8f0051275b104357ed02ebc00646882f72 Mon Sep 17 00:00:00 2001 From: Jeroen Bouma Date: Thu, 14 Jul 2022 14:52:20 +0200 Subject: [PATCH] Add buttons linking to the installation page (#2086) * Add in Install Terminal link * Add in CSS and HTML for a button that links to terminal installation * Because Jose said so * Jose forced me to * Last change forced by Jose * No rel: --- website/data/menu/more.yml | 4 ++ .../layouts/partials/head/others.html | 67 ++++++++++++++++++- .../layouts/partials/site-header.html | 18 ++--- 3 files changed, 74 insertions(+), 15 deletions(-) diff --git a/website/data/menu/more.yml b/website/data/menu/more.yml index 91284cac467..79932070f3e 100644 --- a/website/data/menu/more.yml +++ b/website/data/menu/more.yml @@ -1,5 +1,9 @@ --- more: + - name: "Install the Terminal" + ref: "https://www.openbb.co/products/terminal" + external: true + icon: "gdoc_download" - name: "View Source" ref: "https://github.com/OpenBB-finance/OpenBBTerminal" external: true diff --git a/website/themes/hugo-geekdoc/layouts/partials/head/others.html b/website/themes/hugo-geekdoc/layouts/partials/head/others.html index 69b85ffa371..257c7ba0c5e 100644 --- a/website/themes/hugo-geekdoc/layouts/partials/head/others.html +++ b/website/themes/hugo-geekdoc/layouts/partials/head/others.html @@ -15,6 +15,71 @@ + + {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} @@ -23,4 +88,4 @@ {{ end }} -{{ printf "" "Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc" | safeHTML }} +{{ printf "" "Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc" | safeHTML }} \ No newline at end of file diff --git a/website/themes/hugo-geekdoc/layouts/partials/site-header.html b/website/themes/hugo-geekdoc/layouts/partials/site-header.html index 74a53d27f6f..f8af7f0ddd4 100644 --- a/website/themes/hugo-geekdoc/layouts/partials/site-header.html +++ b/website/themes/hugo-geekdoc/layouts/partials/site-header.html @@ -16,18 +16,8 @@ - - - + + Install the OpenBB Terminal - + \ No newline at end of file