Skip to content

Commit b840c12

Browse files
authored
Correct draft URL (#98)
1 parent 8ca1a43 commit b840c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ablog/blog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def _init(self, app):
228228
# add references to posts and drafts
229229
# e.g. :ref:`blog-posts`
230230
refs["blog-posts"] = (os_path_join(self.config["blog_path"], "index"), "Posts")
231-
refs["blog-drafts"] = (os_path_join(self.config["blog_path"], "drafts", "index"), "Drafts")
231+
refs["blog-drafts"] = (os_path_join(self.config["blog_path"], "drafts"), "Drafts")
232232
refs["blog-feed"] = (os_path_join(self.config["blog_path"], "atom.xml"), self.blog_title + " Feed")
233233

234234
# set some internal configuration options

0 commit comments

Comments
 (0)