From e6a5d90040cc72df184136b7d20eaee075ebd092 Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Mon, 29 Oct 2018 19:41:55 +0100 Subject: [PATCH] Add settings used by theme --- docs/_config.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/docs/_config.yml b/docs/_config.yml index d9d9d79..bccb133 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,4 +1,38 @@ +# Site settings +title: Darwin Core +description: Website for the Darwin Core standard. +url: "https://dwc.tdwg.com" +baseurl: "/" + +navbar: + left: + - text: Terms + href: terms/ + - text: Guides + menu: + - text: Simple Darwin Core + href: simple/ + - text: Text + href: text/ + - text: XML + href: xml/ + - text: RDF + href: rdf/ + - text: Namespace policy + href: namespace/ + right: + - text: GitHub + href: https://github.com/tdwg/dwc + +js: >- + $(document).ready(function() { + // In quick reference guide: add divider in sidebar after UseWithIRI + $("a[href='#usewithiri']", "#theme-sidebar-nav").parent().addClass("theme-divider-below"); + }); + # Build settings markdown: kramdown theme: tdwg-theme-jekyll remote_theme: tdwg/tdwg-theme-jekyll +plugins: + - jekyll-feed