diff --git a/create_index.py b/create_index.py index 34cfa86..14bf965 100644 --- a/create_index.py +++ b/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)