Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions theme/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ <h1>{{ page.title }}</h1>
{% if AUTHOR_CV %}
<li><a href="{{ AUTHOR_CV }}" rel="me">CV</a></li>
{% endif %}
{% if TWITTER_USERNAME %}
<li><a class="nodec icon-twitter" href="http://twitter.com/{{ TWITTER_USERNAME }}" rel="me"></a></li>
{% if MASTODON_URL %}
<li><a class="nodec icon-mastodon" href="{{ MASTODON_URL }}" rel="me"></a></li>
{% endif %}
{% if GITHUB_USERNAME %}
<li><a class="nodec icon-github" href="http://github.com/{{ GITHUB_USERNAME }}" rel="me"></a></li>
Expand Down
6 changes: 3 additions & 3 deletions theme/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
<li><a class="icon-github" href="{{ CODE_PAGE }}" title="Code">Source Code</a></li>
{% endif %}

<!--- TWITTER LINK -->
{% if TWITTER_USERNAME %}
<li><a class="icon-twitter" href="http://twitter.com/{{ TWITTER_USERNAME }}" title="Twitter">Twitter</a></li>
<!--- MASTODON LINK -->
{% if MASTODON_URL %}
<li><a class="icon-mastodon" href="{{ MASTODON_URL }}" title="Mastodon">Mastodon</a></li>
{% endif %}

<!--- BLOG PAGE -->
Expand Down