Skip to content

Commit

Permalink
section_index_link not index_section_path
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Sep 24, 2015
1 parent 5f3dcc2 commit b418cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/post.py
Expand Up @@ -747,7 +747,7 @@ def section_color(self, lang=None):
def section_link(self, lang=None):
"""Return the link to the post's section (deprecated)."""
utils.LOGGER.warning("Post.section_link is deprecated. Please use " +
"site.link('index_section_path', post.section_slug()) instead.")
"site.link('section_index_link', post.section_slug()) instead.")
if lang is None:
lang = nikola.utils.LocaleBorg().current_lang

Expand Down

0 comments on commit b418cbc

Please sign in to comment.