From b840c1250691b7794f342d4979e5967b9c993da5 Mon Sep 17 00:00:00 2001 From: Shengyu Zhang Date: Thu, 25 Mar 2021 00:49:47 +0800 Subject: [PATCH] Correct draft URL (#98) --- ablog/blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ablog/blog.py b/ablog/blog.py index 2529691f..77a2dc6b 100644 --- a/ablog/blog.py +++ b/ablog/blog.py @@ -228,7 +228,7 @@ def _init(self, app): # add references to posts and drafts # e.g. :ref:`blog-posts` refs["blog-posts"] = (os_path_join(self.config["blog_path"], "index"), "Posts") - refs["blog-drafts"] = (os_path_join(self.config["blog_path"], "drafts", "index"), "Drafts") + refs["blog-drafts"] = (os_path_join(self.config["blog_path"], "drafts"), "Drafts") refs["blog-feed"] = (os_path_join(self.config["blog_path"], "atom.xml"), self.blog_title + " Feed") # set some internal configuration options