From 9d35b75ef3859ea67351cf651c0b018d5ead7304 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jun 22 2024 19:14:36 +0000 Subject: chore: 🤖 configure centos navbar to be visible --- diff --git a/src/_config.yml b/src/_config.yml index d8a122a..0209ac5 100644 --- a/src/_config.yml +++ b/src/_config.yml @@ -121,7 +121,7 @@ pagination: # consistency purposes, the value of this variable is overriden each time the # pipeline runs using the value of ${CI_PROJECT_NAME##jekyll-theme-centos-} # variable. -component_data_dirname: "base" +component_data_dirname: "centos" # site.component_data_navbar - Set the name of the navbar data file. For # example, if the navbar file is at `_data/base/navbar.yml', the value you need diff --git a/src/_data/centos/navbar.yml b/src/_data/centos/navbar.yml index f463c6a..134a250 100644 --- a/src/_data/centos/navbar.yml +++ b/src/_data/centos/navbar.yml @@ -6,6 +6,7 @@ icon: "fas fa-download" link: "/download" menu: [] + visible_on: ["navbar"] - name: "About" icon: "fas fa-info-circle" link: "#" @@ -22,6 +23,7 @@ link: "/about/governance" - name: "Code of Conduct" link: "/code-of-conduct" + visible_on: ["navbar"] - name: "Community" icon: "fas fa-users" link: "#" @@ -47,6 +49,7 @@ - name: "Submit Bug" link: "https://wiki.centos.org/ReportBugs" icon: "fas fa-bug" + visible_on: ["navbar"] - name: "Documentation" icon: "fas fa-book" link: "#" @@ -57,7 +60,9 @@ link: "https://docs.centos.org/" - name: "GPG Key Info" link: "/keys" + visible_on: ["navbar"] - name: "Help" icon: "fas fa-life-ring" link: "https://wiki.centos.org/GettingHelp.html" menu: [] + visible_on: ["navbar"]