Skip to content

Commit

Permalink
pkgindex_compiler: Add engine tags in themes
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 22, 2017
1 parent b7e5e92 commit b82395b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v7/pkgindex_compiler/pkgindex_compiler.py
Expand Up @@ -143,7 +143,6 @@ def parse_theme_info(post, pkg_dir, config):
theme = os.path.basename(pkg_dir)
data = {}
data['name'] = theme
data['tags'] = 'theme'
out_path = post.folder_relative + '/' + theme
demo_dir = config['demo_screenshots_map'].get(out_path, out_path)
data['previewimage'] = '/' + demo_dir + '.png'
Expand Down Expand Up @@ -182,6 +181,7 @@ def parse_theme_info(post, pkg_dir, config):
'bootstrap3-jinja' in data['chain'] or
'bootstrap3' in data['chain']) and
'bootstrap3-gradients' not in data['chain'])
data['tags'] = 'theme,' + data['engine']

return data

Expand Down

0 comments on commit b82395b

Please sign in to comment.