Permalink
Browse files

section_index_link not index_section_path

  • Loading branch information...
da2x committed Sep 24, 2015
1 parent 5f3dcc2 commit b418cbc6bac0c4b8091fc016d4b264b87f1d18b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/post.py
View
@@ -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

0 comments on commit b418cbc

Please sign in to comment.