Skip to content

Commit

Permalink
Add Atom feed to social links
Browse files Browse the repository at this point in the history
  • Loading branch information
SkypLabs committed Mar 7, 2022
1 parent c2c6e30 commit cbc0a57
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<link
href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic"
rel="stylesheet" type="text/css">
{% if config.generate_feed %}
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{
get_url(path="atom.xml", trailing_slash=false) }}">
{% endif %}
{% endblock head %}
</head>
<body id="page-top" class="index">
Expand Down Expand Up @@ -82,6 +86,13 @@ <h3>Nos liens sociaux</h3>
<p><a href="{{ network.url }}" class="btn-social btn-outline"><i class="fa fa-fw fa-{{ network.title }}"></i></a></p>
</div>
{% endfor %}
{% if config.generate_feed %}
<div class="col">
<p><a href="{{ get_url(path="atom.xml", trailing_slash=false) }}"
class="btn-social btn-outline"><i class="fa fa-fw
fa-rss"></i></a></p>
</div>
{% endif %}
</div>
</div>
<div class="col footer-col">
Expand Down

0 comments on commit cbc0a57

Please sign in to comment.