From 3ad2c4064652e75f390e99f500a0bd6547403e75 Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Fri, 20 Nov 2020 21:54:18 +0200 Subject: [PATCH] Fix redirect again --- content/_index.md | 2 +- joplinexport.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/_index.md b/content/_index.md index c62a115..19e9260 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,3 +1,3 @@ +++ -redirect_to = "welcome" +redirect_to = "welcome/stavros-notes/" +++ \ No newline at end of file diff --git a/joplinexport.py b/joplinexport.py index 84266d7..1717234 100755 --- a/joplinexport.py +++ b/joplinexport.py @@ -36,7 +36,7 @@ class JoplinExporter: self.content_dir.mkdir() self.static_dir.mkdir() with open(self.content_dir / "_index.md", mode="w") as outfile: - outfile.write('+++\nredirect_to = "welcome"\n+++') + outfile.write('+++\nredirect_to = "welcome/stavros-notes/"\n+++') def resolve_note_links(self, note: Note) -> str: def replacement(match):