forked from indymedia/epicyon
Don't include footer
parent
74d40fdccb
commit
67fa0b5a8f
6
blog.py
6
blog.py
|
@ -499,7 +499,10 @@ def htmlBlogPageRSS2(authorized: bool, session,
|
||||||
blogsIndex = baseDir + '/accounts/' + \
|
blogsIndex = baseDir + '/accounts/' + \
|
||||||
nickname + '@' + domain + '/tlblogs.index'
|
nickname + '@' + domain + '/tlblogs.index'
|
||||||
if not os.path.isfile(blogsIndex):
|
if not os.path.isfile(blogsIndex):
|
||||||
|
if includeHeader:
|
||||||
return blogRSS2 + rss2Footer()
|
return blogRSS2 + rss2Footer()
|
||||||
|
else:
|
||||||
|
return blogRSS2
|
||||||
|
|
||||||
timelineJson = createBlogsTimeline(session, baseDir,
|
timelineJson = createBlogsTimeline(session, baseDir,
|
||||||
nickname, domain, port,
|
nickname, domain, port,
|
||||||
|
@ -525,7 +528,10 @@ def htmlBlogPageRSS2(authorized: bool, session,
|
||||||
domainFull, item,
|
domainFull, item,
|
||||||
None, True)
|
None, True)
|
||||||
|
|
||||||
|
if includeHeader:
|
||||||
return blogRSS2 + rss2Footer()
|
return blogRSS2 + rss2Footer()
|
||||||
|
else:
|
||||||
|
return blogRSS2
|
||||||
|
|
||||||
|
|
||||||
def htmlBlogPageRSS3(authorized: bool, session,
|
def htmlBlogPageRSS3(authorized: bool, session,
|
||||||
|
|
Loading…
Reference in New Issue