Skip to content
Permalink
Browse files
pkgindex_compiler: minor family display patch for themes
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Aug 23, 2017
1 parent 174c6ff commit d717b0ef6aa10b21c3affcbb551a6edcfaee2c8f
Showing with 1 addition and 1 deletion.
  1. +1 −1 v7/pkgindex_compiler/pkgindex_compiler.py
@@ -213,7 +213,7 @@ def parse_theme_info(post, pkg_dir, config):
_variants_count = len(data['family_variants'])
data['family_variants_text'] = '1 variant' if _variants_count == 1 else '{0} variants'.format(_variants_count)

data['show_family_data'] = data['show_family_data'] or bool(data['family_variants'])
data['show_family_data'] = data['show_family_data'] or bool(data['family_variants']) or not data['family_head']
data['bootswatch'] = c.getboolean('Nikola', 'bootswatch', fallback=False)
data['tags'] = 'newmeta,theme,' + data['engine'] + ',v{0}'.format(data['dirver'])
data['license'] = c.get('Theme', 'license', fallback=None)

0 comments on commit d717b0e

Please sign in to comment.