Skip to content
Permalink
Browse files

fixie fixie

  • Loading branch information
ralsina committed Sep 4, 2015
1 parent 254f4e3 commit e90a68f5e37dd6230e083f030d52f4c6c177d054
Showing with 2 additions and 2 deletions.
  1. +1 −1 nikola/nikola.py
  2. +1 −1 nikola/plugins/task/tags.py
@@ -674,7 +674,7 @@ def __init__(self, **config):
if not self.config.get('COPY_SOURCES'):
self.config['SHOW_SOURCELINK'] = False

if self.config['CATEGORY_PATH'] is None:
if self.config['CATEGORY_PATH']._inp is None:
self.config['CATEGORY_PATH'] = self.config['TAG_PATH']
if self.config['CATEGORY_PAGES_ARE_INDEXES'] is None:
self.config['CATEGORY_PAGES_ARE_INDEXES'] = self.config['TAG_PAGES_ARE_INDEXES']
@@ -412,7 +412,7 @@ def category_index_path(self, name, lang):
link://category_index => /categories/index.html
"""
return [_f for _f in [self.site.config['TRANSLATIONS'][lang],
self.site.config['CATEGORY_PATH'],
self.site.config['CATEGORY_PATH'][lang],
self.site.config['INDEX_FILE']] if _f]

def tag_path(self, name, lang):

0 comments on commit e90a68f

Please sign in to comment.