From 00b2189454eec183292448776856e236e1127494 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 07 2024 13:14:53 +0000 Subject: chore: 🤖 add visible_on property to control links visibility --- diff --git a/_data/centos/navbar.yml b/_data/centos/navbar.yml index d940f06..134a250 100644 --- a/_data/centos/navbar.yml +++ b/_data/centos/navbar.yml @@ -1,11 +1,12 @@ --- -# +# # site.data.centos.navbar - Control top navigation bar -# +# - name: "Download" 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"]