Fix redirect again
This commit is contained in:
parent
87fc5a315b
commit
3ad2c40646
@ -1,3 +1,3 @@
|
||||
+++
|
||||
redirect_to = "welcome"
|
||||
redirect_to = "welcome/stavros-notes/"
|
||||
+++
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user