mirror of https://gitlab.com/bashrc2/epicyon
Don't apply first post to blogs
parent
bca431c95d
commit
e930eb3aaf
|
@ -1071,7 +1071,7 @@ def person_box_json(recent_posts_cache: {},
|
||||||
if boxname == 'tlblogs':
|
if boxname == 'tlblogs':
|
||||||
return create_blogs_timeline(base_dir, nickname, domain, port,
|
return create_blogs_timeline(base_dir, nickname, domain, port,
|
||||||
http_prefix, no_of_items, header_only,
|
http_prefix, no_of_items, header_only,
|
||||||
page_number)
|
page_number, '')
|
||||||
if boxname == 'outbox':
|
if boxname == 'outbox':
|
||||||
return create_outbox(base_dir, nickname, domain, port,
|
return create_outbox(base_dir, nickname, domain, port,
|
||||||
http_prefix,
|
http_prefix,
|
||||||
|
|
5
posts.py
5
posts.py
|
@ -3626,12 +3626,11 @@ def create_replies_timeline(recent_posts_cache: {},
|
||||||
|
|
||||||
def create_blogs_timeline(base_dir: str, nickname: str, domain: str,
|
def create_blogs_timeline(base_dir: str, nickname: str, domain: str,
|
||||||
port: int, http_prefix: str, items_per_page: int,
|
port: int, http_prefix: str, items_per_page: int,
|
||||||
header_only: bool, page_number: int,
|
header_only: bool, page_number: int) -> {}:
|
||||||
first_post_id: str) -> {}:
|
|
||||||
return _create_box_indexed({}, base_dir, 'tlblogs', nickname,
|
return _create_box_indexed({}, base_dir, 'tlblogs', nickname,
|
||||||
domain, port, http_prefix,
|
domain, port, http_prefix,
|
||||||
items_per_page, header_only, True,
|
items_per_page, header_only, True,
|
||||||
0, False, 0, page_number, first_post_id)
|
0, False, 0, page_number)
|
||||||
|
|
||||||
|
|
||||||
def create_features_timeline(base_dir: str,
|
def create_features_timeline(base_dir: str,
|
||||||
|
|
Loading…
Reference in New Issue