Skip to content

Commit

Permalink
Add RSS icon to social.html (alshedivat#418)
Browse files Browse the repository at this point in the history
* Add rss icon

* Add a blank line to make sure rss icon is always at the last
  • Loading branch information
Lorenzo Pacchiardi committed Nov 1, 2021
1 parent c14e88a commit 08816c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ wikidata_id: # your wikidata id
dblp_url: # your DBLP profile url
stackoverflow_id: #your stackoverflow id

contact_note:
rss_icon: false

contact_note: >
You can even add a little note about which of these is the best way to reach you.
google_analytics: UA-194441087-1 # out your google-analytics code
panelbear_analytics: XXXXXXXXX # panelbear analytics site ID

Expand Down
2 changes: 2 additions & 0 deletions _includes/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@
{% if site.gitlab_username %}<a href="https://gitlab.com/{{ site.gitlab_username }}" title="GitLab"><i class="fab fa-gitlab"></i></a>{% endif %}
{% if site.dblp_url %}<a href="{{ site.dblp_url }}" title="DBLP"><i class="ai ai-dblp"></i></a>{% endif %}
{% if site.stackoverflow_id %}<a href="https://stackoverflow.com/users/{{ site.stackoverflow_id }}" title="Stackoverflow"><i class="fab fa-stack-overflow"></i></a>{% endif %}

{% if site.rss_icon %}<a href="{{ site.baseurl | prepend: site.url }}/feed.xml" title="RSS Feed"><i class="fas fa-rss-square"></i></a>{% endif %}

0 comments on commit 08816c2

Please sign in to comment.