Browse Source

tilde.wiki is the tildeverse wiki now

master
Robert Miles 2 months ago
parent
commit
5ccc7418dc
  1. 2
      create_index.py

2
create_index.py

@ -25,7 +25,7 @@ pages = os.listdir("/var/www/tilde.team/wiki/pages")
for page in pages:
with open(os.path.join("/var/www/tilde.team/wiki/pages",page)) as f:
post = frontmatter.load(f)
url = "https://tilde.wiki/"+os.path.splitext(page)[0]
url = "https://tilde.team/wiki/"+os.path.splitext(page)[0]
title = post["title"]
text = textify(post.content)
writer.add_document(title=title, text=text, url=url)

Loading…
Cancel
Save