mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
add tipue_search to gen_statics_bundles
This commit is contained in:
parent
7fc12014f0
commit
30a38ecbfa
@ -23,6 +23,7 @@ files_created = not os.path.exists(css_bundle_filepath)
|
|||||||
with open(css_bundle_filepath, 'wb') as bundle:
|
with open(css_bundle_filepath, 'wb') as bundle:
|
||||||
bundle.write(cat('static/csslibs/uikit-2.27.4.min.css'))
|
bundle.write(cat('static/csslibs/uikit-2.27.4.min.css'))
|
||||||
bundle.write(cat('static/csslibs/solarized-highlight.css'))
|
bundle.write(cat('static/csslibs/solarized-highlight.css'))
|
||||||
|
bundle.write(cat('static/csslibs/tipuesearch.css'))
|
||||||
bundle.write(cat('static/main.css'))
|
bundle.write(cat('static/main.css'))
|
||||||
|
|
||||||
print('Generating JS bundle')
|
print('Generating JS bundle')
|
||||||
@ -38,6 +39,8 @@ for SHARE, MG_FILTER_TAGS in itertools.product(range(2), repeat=2):
|
|||||||
bundle.write(cat('static/jslibs/uikit-2.27.4.min.js'))
|
bundle.write(cat('static/jslibs/uikit-2.27.4.min.js'))
|
||||||
bundle.write(cat('static/jslibs/lazysizes-4.0.0-rc3.min.js'))
|
bundle.write(cat('static/jslibs/lazysizes-4.0.0-rc3.min.js'))
|
||||||
bundle.write(cat('static/jslibs/lazysizes-4.0.0-rc3.noscript.min.js'))
|
bundle.write(cat('static/jslibs/lazysizes-4.0.0-rc3.noscript.min.js'))
|
||||||
|
bundle.write(cat('static/jslibs/tipuesearch.js'))
|
||||||
|
bundle.write(cat('string/jslibs/tipuesearch_set.js'))
|
||||||
if SHARE:
|
if SHARE:
|
||||||
bundle.write(cat('static/jslibs/jquery.sticky-kit.js'))
|
bundle.write(cat('static/jslibs/jquery.sticky-kit.js'))
|
||||||
bundle.write(cat('static/js/social.js'))
|
bundle.write(cat('static/js/social.js'))
|
||||||
|
Loading…
Reference in New Issue
Block a user