This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/articles/assets.py

17 lines
399 B
Python

from django_assets import Bundle, register
public_no_code = Bundle(
"newcss.css",
"public.css",
filters="cssmin",
output="public_bundled.css",
)
public_with_code = Bundle(
"newcss.css",
"codehilite.css",
"public.css",
filters="cssmin",
output="public_code_bundled.css",
)
register("public_no_code", public_no_code)
register("public_with_code", public_with_code)