Skip to content

Commit 81444b5

Browse files
authored
feat: disable url param for search
1 parent d5b54bc commit 81444b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build_index.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def create_sitemap(doc_index,homepage):
2828
if tag not in unique_tags:
2929
unique_tags.append(tag)
3030

31-
for tag in unique_tags:
32-
f.write(f"{homepage}?q={tag}\n")
31+
# for tag in unique_tags:
32+
# f.write(f"{homepage}?q={tag}\n")
3333

3434
def create_version():
3535
with open(os.path.join('public','_version.txt'),'w') as f:
@@ -152,4 +152,4 @@ def get_file_last_modify_time(f_path):
152152
create_index(doc_index)
153153
create_sitemap(doc_index,homepage)
154154
create_version()
155-
155+

0 commit comments

Comments
 (0)