diff --git a/.gitignore b/.gitignore index a8934f3fe..2e31a9c2a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ output/ id_rsa id_rsa.pub __pycache__ +web/.doit.db.bak +web/.doit.db.dat +web/.doit.db.dir diff --git a/web/conf.py b/web/conf.py index 8d991bfc0..ec4559796 100644 --- a/web/conf.py +++ b/web/conf.py @@ -28,6 +28,12 @@ PROJECT_REPOSITORY = "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/PlasmaPy/PlasmaPy" BLOG_DESCRIPTION = "Webpage for PlasmaPy." # (translatable) +DOCS = "http://docs.plasmapy.org/" +RIOT = "https://riot.im/app/#/room/#plasmapy:openastronomy.org" +TWITTER = "https://twitter.com/plasmapy" +MAILING_LIST = "https://groups.google.com/forum/#!forum/plasmapy" +RITIEK = "https://ritiek.github.io/posts/" + # Nikola is multilingual! # # Currently supported languages are: @@ -134,15 +140,27 @@ NAVIGATION_LINKS = { DEFAULT_LANG: ( + (PROJECT_REPOSITORY, "GitHub repository"), (( - ("/about", "About PlasmaPy"), - # ("/acknowledging", "Acknowledging"), - ("/conduct", "Code of Conduct") - ), "About"), - ("http://docs.plasmapy.org/", "Documentation"), + ("/about", "About PlasmaPy"), + ("/", "PlasmaPy News"), + ("/acknowledging", "Acknowledging"), + ("/conduct", "Code of Conduct") + ), "About"), + (DOCS, "Documentation"), # ("/quickstart", "Quickstart guide"), ("/contribute", "Contribute"), + + (( + (RIOT, "Chat"), + (TWITTER, "Twitter"), + (MAILING_LIST, "Mailing list"), + ), "Contact us!"), # ("/team", "Team"), + (( + (RITIEK, "GSoC 2018"), + ), "Google Summer of Code"), + ) } @@ -943,7 +961,7 @@ # A small copyright notice for the page footer (in HTML). # (translatable) -CONTENT_FOOTER = 'Contents © {date} {author} - {license} - Powered by Nikola' +CONTENT_FOOTER = 'Contents © {date} {author} - {license} - Twitter - Chat - Powered by Nikola' # Things that will be passed to CONTENT_FOOTER.format(). This is done # for translatability, as dicts are not formattable. Nikola will @@ -965,7 +983,9 @@ "repo": PROJECT_REPOSITORY, "author": BLOG_AUTHOR, "date": time.gmtime().tm_year, - "license": LICENSE + "license": LICENSE, + "twitter": TWITTER, + "riot": RIOT, } ) } diff --git a/web/pages/about.html b/web/pages/about.html index 8846dc753..5d8fa0c83 100644 --- a/web/pages/about.html +++ b/web/pages/about.html @@ -46,7 +46,7 @@
We need your help, every contribution is appreciated! - Check out our contribution guide to PlasmaPy. + Check out our contribution guide to PlasmaPy.