SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 92ca9efa authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Work on feeds

parent 70a8fe88
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,9 @@ class LatestCommentsFeedAtom(LatestCommentsFeedRSS): ...@@ -42,6 +42,9 @@ class LatestCommentsFeedAtom(LatestCommentsFeedRSS):
feed_type = Atom1Feed feed_type = Atom1Feed
subtitle = LatestCommentsFeedRSS.description subtitle = LatestCommentsFeedRSS.description
def author_name(self):
return 'SciPost'
class LatestNewsFeedRSS(Feed): class LatestNewsFeedRSS(Feed):
...@@ -66,6 +69,9 @@ class LatestNewsFeedAtom(LatestNewsFeedRSS): ...@@ -66,6 +69,9 @@ class LatestNewsFeedAtom(LatestNewsFeedRSS):
feed_type = Atom1Feed feed_type = Atom1Feed
subtitle = LatestNewsFeedRSS.description subtitle = LatestNewsFeedRSS.description
def author_name(self):
return 'SciPost'
class LatestSubmissionsFeedRSS(Feed): class LatestSubmissionsFeedRSS(Feed):
title_template = 'feeds/latest_submissions_title.html' title_template = 'feeds/latest_submissions_title.html'
...@@ -112,6 +118,9 @@ class LatestSubmissionsFeedAtom(LatestSubmissionsFeedRSS): ...@@ -112,6 +118,9 @@ class LatestSubmissionsFeedAtom(LatestSubmissionsFeedRSS):
feed_type = Atom1Feed feed_type = Atom1Feed
subtitle = LatestSubmissionsFeedRSS.description subtitle = LatestSubmissionsFeedRSS.description
def author_name(self):
return 'SciPost'
class LatestPublicationsFeedRSS(Feed): class LatestPublicationsFeedRSS(Feed):
title_template = 'feeds/latest_publications_title.html' title_template = 'feeds/latest_publications_title.html'
...@@ -155,3 +164,6 @@ class LatestPublicationsFeedRSS(Feed): ...@@ -155,3 +164,6 @@ class LatestPublicationsFeedRSS(Feed):
class LatestPublicationsFeedAtom(LatestPublicationsFeedRSS): class LatestPublicationsFeedAtom(LatestPublicationsFeedRSS):
feed_type = Atom1Feed feed_type = Atom1Feed
subtitle = LatestPublicationsFeedRSS.description subtitle = LatestPublicationsFeedRSS.description
def author_name(self):
return 'SciPost'
...@@ -10,11 +10,12 @@ ...@@ -10,11 +10,12 @@
<a href="{% url 'scipost:terms_and_conditions' %}">Terms and conditions.</a> <a href="{% url 'scipost:terms_and_conditions' %}">Terms and conditions.</a>
</div> </div>
<div class="col-2"> <div class="col-2">
Follow us on:<br/> Follow us:<br/>
<table> <table>
<tr> <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://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 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> </tr>
</table> </table>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment