From 65b1f5bf4ffdabe68737ab9b3cd467c3c39d4e81 Mon Sep 17 00:00:00 2001 From: peterdesmet Date: Fri, 3 Feb 2023 16:05:29 +0100 Subject: [PATCH] Move navigation --- docs/_config.yml | 35 ----------------------------------- docs/_data/navigation.yml | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 35 deletions(-) create mode 100644 docs/_data/navigation.yml diff --git a/docs/_config.yml b/docs/_config.yml index fb2a7cb..da04f2a 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -2,41 +2,6 @@ title: Darwin Core description: Website for the Darwin Core standard url: "https://dwc.tdwg.org" -navbar: - left: - - text: Terms - menu: - - text: Darwin Core - href: list/ - - text: Establishment Means - href: https://dwc.tdwg.org/em/ - - text: Degree of Establishment - href: https://dwc.tdwg.org/doe/ - - text: Pathway - href: https://dwc.tdwg.org/pw/ - - text: Chronometric Age - href: https://tdwg.github.io/chrono/list/ - - text: Guides - menu: - - text: Darwin Core Quick Reference - href: terms/ - - text: Chronometric Age Quick Reference - href: https://tdwg.github.io/chrono/terms/ - - text: Simple Darwin Core - href: simple/ - - text: Text (Darwin Core Archive) - href: text/ - - text: RDF - href: rdf/ - - text: XML - href: xml/ - - text: Namespace policy - href: namespace/ - - text: Questions & Answers (separate site) - href: https://github.com/tdwg/dwc-qa/blob/master/README.md - right: - - text: GitHub - href: https://github.com/tdwg/dwc js: >- $(document).ready(function() { diff --git a/docs/_data/navigation.yml b/docs/_data/navigation.yml new file mode 100644 index 0000000..4e053b9 --- /dev/null +++ b/docs/_data/navigation.yml @@ -0,0 +1,39 @@ +# Links listed below will be included in your site's navbar (navigation at the top) + +- text: Home + href: / +- text: Terms + menu: + - text: Darwin Core + href: /list/ + - text: "---" + - text: Establishment Means + href: /em/ + - text: Degree of Establishment + href: /doe/ + - text: Pathway + href: /pw/ + - text: Chronometric Age + href: https://tdwg.github.io/chrono/list/ +- text: Guides + menu: + - text: Darwin Core Quick Reference + href: /terms/ + - text: "---" + - text: Chronometric Age Quick Reference + href: https://tdwg.github.io/chrono/terms/ + - text: Simple Darwin Core + href: /simple/ + - text: Text (Darwin Core Archive) + href: /text/ + - text: RDF + href: /rdf/ + - text: XML + href: /xml/ + - text: Namespace policy + href: /namespace/ + - text: "---" + - text: Questions & Answers + href: https://github.com/tdwg/dwc-qa/blob/master/README.md +- text: GitHub + href: https://github.com/tdwg/dwc