From bc7a4ffc2f1d0659bc2e384ea454090348435ac6 Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Tue, 24 Nov 2020 14:20:51 -0500 Subject: [PATCH] Updating the sidebar navigation Signed-off-by: Matt Farina --- config.toml | 4 ---- config.yaml | 13 +++++++++++++ themes/hugo-geekdoc/layouts/partials/menu.html | 11 ++++------- 3 files changed, 17 insertions(+), 11 deletions(-) delete mode 100644 config.toml create mode 100644 config.yaml diff --git a/config.toml b/config.toml deleted file mode 100644 index 979c9f6..0000000 --- a/config.toml +++ /dev/null @@ -1,4 +0,0 @@ -baseURL = "https://blog.artifacthub.io/" -languageCode = "en-us" -title = "Artifact Hub Blog" -theme = "hugo-geekdoc" diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..b26111f --- /dev/null +++ b/config.yaml @@ -0,0 +1,13 @@ +baseURL: "https://blog.artifacthub.io/" +languageCode: "en-us" +title: "Artifact Hub Blog" +theme: "hugo-geekdoc" + +params: + quicklinks: + - title: Artifact Hub + url: https://artifacthub.io + - title: Documentation + url: https://artifacthub.io/docs/ + - title: API docs + url: https://artifacthub.github.io/hub/api/ \ No newline at end of file diff --git a/themes/hugo-geekdoc/layouts/partials/menu.html b/themes/hugo-geekdoc/layouts/partials/menu.html index 5080202..8bdb46f 100644 --- a/themes/hugo-geekdoc/layouts/partials/menu.html +++ b/themes/hugo-geekdoc/layouts/partials/menu.html @@ -3,22 +3,19 @@ {{ $root := "/" }}
- {{ if .Site.Params.GeekdocMenuBundle }} - {{ partial "menu-bundle" (dict "current" . "source" .Site.Data.menu.main.main) }} - {{ else }} - {{ partial "menu-filetree" . }} - {{ end }}