Commit d5f85061 authored by gijs's avatar gijs

Let's see

parent c75a4a0a
Pipeline #216 canceled with stages
......@@ -39,6 +39,7 @@ def format_commits(commits_to_format):
def home(request):
if os.path.exists('/home/osp/apps/tools.osp-blog.www/output/feeds/all.atom.xml'):
ospblog = feedparser.parse('/home/osp/apps/tools.osp-blog.www/output/feeds/all.atom.xml')
ospblog.link = 'http://blog.osp.kitchen/'
else:
ospblog = feedparser.parse('http://blog.osp.kitchen/feeds/all.atom.xml')
ospblog = ospblog.entries[:3]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment