Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions portal/_templates/footer-extra.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="container-fluid footer-extra">
<div class="container">
<div class="row">
<p class="m-0">
<img src="{{ pathto('_static/images/logos/footer-logo-nsf.png', 1) }}" style="float:left;width:60px;height:60px;margin-right:1rem;">
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.
</p>
</div>
</div>
</div>
33 changes: 33 additions & 0 deletions portal/_templates/footer-menu.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{% set ext_icon = '<i class="fas fa-external-link-alt"></i>' %}
<div class="container-fluid footer-menu pt-4">
<div class="container">
<div class="row justify-content-center">
<div class="col-9 col-sm-4 col-md-4 col-lg-3 footer-menu-col">
<h1>{{ _("About") }}</h1>
<ul class="list-unstyled">
<li><a href="https://projectpythia.org/about.html">{{ _("About Project Pythia") }}</a></li>
<li><a href="https://foundations.projectpythia.org/preamble/how-to-use.html">{{ _("How to use Pythia Foundations") }}</a></li>
<li><a href="https://projectpythia.org/#the-project-pythia-team">{{ _("The Project Team") }}</a></li>
</ul>
</div>
<div class="col-9 col-sm-4 col-md-4 col-lg-3 footer-menu-col">
<h1>{{ _("Give Feedback") }}</h1>
<ul class="list-unstyled">
<li><a href="mailto:[email protected]">{{ _("Email us!") }}</a></li>
<li><a href="https://github.com/ProjectPythia/projectpythia.github.io/discussions">{{ _("Project Pythia Discussions") }}</a></li>
<li><a href="https://github.com/ProjectPythia/pythia-foundations/discussions">{{ _("Pythia Foundations Discussions") }}</a></li>
</ul>
</div>
<div class="col-9 col-sm-4 col-md-4 col-lg-3 footer-menu-col">
<h1>{{ _("Contribute") }}</h1>
<ul class="list-unstyled">
<li><a href="https://projectpythia.org/contributing.html">{{ _("How to contribute to Project Pythia") }}</a></li>
<li><a href="https://foundations.projectpythia.org/appendix/how-to-contribute.html">{{ _("How to contribute to Pythia Foundations") }}</a></li>
<li><a href="https://projectpythia.org/code_of_conduct.html">{{ _("Our code of conduct") }}</a></li>
<li><a href="https://projectpythia.org/#weekly-working-group-meetings">{{ _("Join our weekly meetings") }}</a></li>
<li><a href="https://github.com/ProjectPythia">{{ _("Join us on GitHub") }}</a></li>
</ul>
</div>
</div>
</div>
</div>
15 changes: 0 additions & 15 deletions portal/_templates/layout.html

This file was deleted.

62 changes: 24 additions & 38 deletions portal/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -24,8 +23,8 @@
# -- Project information -----------------------------------------------------

project = 'Project Pythia'
author = 'Project Pythia Developers & Contributors'
copyright = f'2021-{datetime.datetime.now().year}, {author}'
author = 'the <a href="https://projectpythia.org/">Project Pythia</a> Community'
copyright = '2022'

# -- General configuration ---------------------------------------------------

Expand Down Expand Up @@ -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'
Expand All @@ -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 <a href="https://projectpythia.org">Project Pythia</a>'),
}

# Panels config
Expand Down
1 change: 1 addition & 0 deletions portal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down