diff --git a/pelicanconf.py b/pelicanconf.py index af862ce..283c779 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -54,7 +54,7 @@ CODE_PAGE = 'https://github.com/poliastro/poliastro' ARCHIVES_PAGE = 'archives.html' ABOUT_PAGE = 'pages/about-poliastro.html' -TWITTER_USERNAME = 'poliastro_py' +MASTODON_URL = 'https://fosstodon.org/@poliastro' GITHUB_USERNAME = 'poliastro' SHOW_ARCHIVES = True SHOW_FEED = False # Need to address large feeds diff --git a/theme/templates/about.html b/theme/templates/about.html index e807303..bbe4f7e 100644 --- a/theme/templates/about.html +++ b/theme/templates/about.html @@ -19,8 +19,8 @@

{{ page.title }}

{% if AUTHOR_CV %}
  • CV
  • {% endif %} - {% if TWITTER_USERNAME %} -
  • + {% if MASTODON_URL %} +
  • {% endif %} {% if GITHUB_USERNAME %}
  • diff --git a/theme/templates/base.html b/theme/templates/base.html index 681f36f..a49d2c0 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -75,9 +75,9 @@
  • Source Code
  • {% endif %} - - {% if TWITTER_USERNAME %} -
  • Twitter
  • + + {% if MASTODON_URL %} +
  • Mastodon
  • {% endif %}