diff --git a/portal/_templates/footer-extra.html b/portal/_templates/footer-extra.html new file mode 100644 index 000000000..52e29e301 --- /dev/null +++ b/portal/_templates/footer-extra.html @@ -0,0 +1,14 @@ +
diff --git a/portal/_templates/footer-menu.html b/portal/_templates/footer-menu.html new file mode 100644 index 000000000..2f3ce3181 --- /dev/null +++ b/portal/_templates/footer-menu.html @@ -0,0 +1,33 @@ + {% set ext_icon = '' %} + diff --git a/portal/_templates/layout.html b/portal/_templates/layout.html deleted file mode 100644 index d8d2c3379..000000000 --- a/portal/_templates/layout.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "!layout.html" %} {% block extrahead %} - - - -{{ super() }} {% endblock %} diff --git a/portal/conf.py b/portal/conf.py index 285acb903..a87e60737 100644 --- a/portal/conf.py +++ b/portal/conf.py @@ -13,7 +13,6 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -import datetime import os import shutil import sys @@ -24,8 +23,8 @@ # -- Project information ----------------------------------------------------- project = 'Project Pythia' -author = 'Project Pythia Developers & Contributors' -copyright = f'2021-{datetime.datetime.now().year}, {author}' +author = 'the Project Pythia Community' +copyright = '2022' # -- General configuration --------------------------------------------------- @@ -59,7 +58,7 @@ # a list of builtin themes. # html_theme = 'sphinx_pythia_theme' -html_last_updated_fmt = '%d %B %Y' +html_last_updated_fmt = '%-d %B %Y' # Logo & Title html_logo = '_static/images/logos/pythia_logo-white-rtext.svg' @@ -78,44 +77,31 @@ html_css_files = ['custom.css'] # html_js_files = ['custom.js'] +# Disable Sidebars on special pages +html_sidebars = { + 'index': [], + 'gallery': [], +} + # HTML Theme-specific Options html_theme_options = { - 'page_layouts': {'index': 'banner', 'gallery': 'standalone'}, - 'domnav': [ - { - 'content': 'Start Learning', - 'url': '/index.html#start-learning', - }, - { - 'content': 'Join us!', - 'url': '/index.html#join-us', - }, - { - 'content': 'Team', - 'url': '/index.html#the-project-pythia-team', - }, - { - 'content': 'About', - 'url': 'about', - }, + 'google_analytics_id': 'G-T9KGMX7VHZ', + 'github_url': 'https://github.com/ProjectPythia', + 'twitter_url': 'https://twitter.com/project_pythia', + 'logo_link': 'https://projectpythia.org', + 'navbar_links': [ + {'name': 'Home', 'url': 'https://projectpythia.org'}, + {'name': 'Foundations', 'url': 'https://foundations.projectpythia.org'}, + {'name': 'Gallery', 'url': 'https://projectpythia.org/gallery.html'}, + {'name': 'Community', 'url': 'https://projectpythia.org/#join-us'}, ], - 'footer': { - 'logos': { - 'NCAR': '_static/images/logos/NCAR-contemp-logo-blue.svg', - 'Unidata': '_static/images/logos/Unidata_logo_horizontal_1200x300.svg', - 'UAlbany': '_static/images/logos/UAlbany-A2-logo-purple-gold.svg', - }, - 'acknowledgement': { - 'content': ( - 'This material is based upon work supported by the National ' - 'Science Foundation under Grant Nos. 2026863 and 2026899. Any ' - 'opinions, findings, and conclusions or recommendations expressed ' - 'in this material are those of the author(s) and do not necessarily ' - 'reflect the views of the National Science Foundation.' - ), - 'image': '_static/images/logos/footer-logo-nsf.png', - }, + 'page_layouts': {'index': 'page-banner.html', 'gallery': 'page-standalone.html'}, + 'footer_logos': { + 'NCAR': '_static/images/logos/NCAR-contemp-logo-blue.svg', + 'Unidata': '_static/images/logos/Unidata_logo_horizontal_1200x300.svg', + 'UAlbany': '_static/images/logos/UAlbany-A2-logo-purple-gold.svg', }, + 'extra_navbar': ('Theme by Project Pythia'), } # Panels config diff --git a/portal/index.md b/portal/index.md index 2b22be131..8dd2b47d3 100644 --- a/portal/index.md +++ b/portal/index.md @@ -4,6 +4,7 @@ :color: rgba(26, 100, 143, 0.85) :image: _static/images/backgrounds/pexels-jeff-stapleton-5792818.jpg :caption: Photo by Jeff Stapleton from Pexels +:class: dark-banner ::: Scientists working in a multitude of disciplines rely heavily on