Skip to content
Permalink
Browse files
make code.css bundling work on Windows
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Mar 10, 2015
1 parent 1a02a9b commit 4e99417db819bc6764a84e32e822ca613bb4f337
Showing 2 changed files with 2 additions and 1 deletion.
@@ -7,6 +7,7 @@ Features
Bugfixes
--------

* Fix code.css bundling in Windows
* Listings in posts now work in Windows (Issue #1631)

New in v7.3.1
@@ -97,7 +97,7 @@ def build_bundle(output, inputs):
files.append(os.path.join(dname, fname))
file_dep = [os.path.join(kw['output_folder'], fname)
for fname in files if
utils.get_asset_path(fname, self.site.THEMES, self.site.config['FILES_FOLDERS']) or fname == 'assets/css/code.css']
utils.get_asset_path(fname, self.site.THEMES, self.site.config['FILES_FOLDERS']) or fname == os.path.join('assets', 'css', 'code.css')]
# code.css will be generated by us if it does not exist in
# FILES_FOLDERS or theme assets. It is guaranteed that the
# generation will happen before this task.

0 comments on commit 4e99417

Please sign in to comment.