diff --git a/scipost/feeds.py b/scipost/feeds.py index 9b434a347b427c73f32b203bd7391f7626eb3d90..377df98186550ca1cd2f6dc2bc7fa5fd16ea0a5f 100644 --- a/scipost/feeds.py +++ b/scipost/feeds.py @@ -42,6 +42,9 @@ class LatestCommentsFeedAtom(LatestCommentsFeedRSS): feed_type = Atom1Feed subtitle = LatestCommentsFeedRSS.description + def author_name(self): + return 'SciPost' + class LatestNewsFeedRSS(Feed): @@ -66,6 +69,9 @@ class LatestNewsFeedAtom(LatestNewsFeedRSS): feed_type = Atom1Feed subtitle = LatestNewsFeedRSS.description + def author_name(self): + return 'SciPost' + class LatestSubmissionsFeedRSS(Feed): title_template = 'feeds/latest_submissions_title.html' @@ -112,6 +118,9 @@ class LatestSubmissionsFeedAtom(LatestSubmissionsFeedRSS): feed_type = Atom1Feed subtitle = LatestSubmissionsFeedRSS.description + def author_name(self): + return 'SciPost' + class LatestPublicationsFeedRSS(Feed): title_template = 'feeds/latest_publications_title.html' @@ -155,3 +164,6 @@ class LatestPublicationsFeedRSS(Feed): class LatestPublicationsFeedAtom(LatestPublicationsFeedRSS): feed_type = Atom1Feed subtitle = LatestPublicationsFeedRSS.description + + def author_name(self): + return 'SciPost' diff --git a/scipost/templates/scipost/footer.html b/scipost/templates/scipost/footer.html index 58536d05471b1d96f358f6c5826b06d56c26cb8e..f12fba1f91bfc27f03b41c5c75917cc8285f5d18 100644 --- a/scipost/templates/scipost/footer.html +++ b/scipost/templates/scipost/footer.html @@ -10,11 +10,12 @@ <a href="{% url 'scipost:terms_and_conditions' %}">Terms and conditions.</a> </div> <div class="col-2"> - Follow us on:<br/> + Follow us:<br/> <table> <tr> <td><a href="https://www.facebook.com/scipost" target="_blank" title="Facebook"><img src="{% static 'scipost/images/FB-f-Logo__white_29.png' %}" width="20" alt="Facebook"/></a></td> <td><a href="https://twitter.com/scipost_dot_org" target="_blank" title="Twitter"><img src="{% static 'scipost/images/Twitter_Logo_Blue.png' %}" width="32" alt="Twitter"/></a></td> + <td><a style="float: right;" href="{% url 'scipost:feeds' %}"><img src="{% static 'scipost/images/feed-icon-28x28.png' %}" alt="Feed logo" width="20"></a></td> </tr> </table> </div>