Skip to content

Commit

Permalink
Correct draft URL (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverRainZ authored Mar 24, 2021
1 parent 8ca1a43 commit b840c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ablog/blog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b840c12

Please sign in to comment.