From 336dbde7a6b2ff58c898d2525741b8401fc569e1 Mon Sep 17 00:00:00 2001 From: Rockets2theMoon Date: Tue, 18 Jun 2024 13:14:23 -0700 Subject: [PATCH] New site banner (#24) * New site banner Added file and edited mkdocs.yml to add the banner that announces the new website. --------- Co-authored-by: Anthony Galassi <28850131+bendhouseart@users.noreply.github.com> --- mkdocs.yml | 2 ++ overrides/main.html | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 overrides/main.html diff --git a/mkdocs.yml b/mkdocs.yml index 750c043..f364f53 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -16,11 +16,13 @@ nav: theme: name: material + custom_dir: docs/overrides # - allows use of the uverride/main.html file favicon: images/favicon.png logo: images/logo.png features: - navigation.top - content.action.edit + - announce.dismiss # allows for closing banner icon: repo: fontawesome/brands/github edit: material/pencil diff --git a/overrides/main.html b/overrides/main.html new file mode 100644 index 0000000..f00df59 --- /dev/null +++ b/overrides/main.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} + +{% block announce %} +
+ +
+ +

THIS SITE IS BEING MERGED

+ +

+ The BIDS group is currently finalizing a NEW main website that will merge our existing websites into one central, easy to navigate resource.
+ The New BIDS Website (https://bids-website.readthedocs.io) + is still being finalized, but we encourage feedback via the
+ giscus form on the bottom of the main page.
+

+ + Please feel free to submit suggestions or comments as we improve and consolidate our existing BIDS resources. + +
+
+{% endblock %}