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

18 lines
422 B
Python
Raw Normal View History

from django_assets import Bundle, register
public_no_code = Bundle(
2020-12-29 09:31:26 +01:00
"vendor/newcss.css",
"public.css",
2020-12-25 14:50:51 +01:00
filters="rcssmin",
output="public_bundled.css",
)
public_with_code = Bundle(
2020-12-29 09:31:26 +01:00
"vendor/newcss.css",
"vendor/codehilite.css",
"public.css",
2020-12-25 14:50:51 +01:00
filters="rcssmin",
output="public_code_bundled.css",
)
register("public_no_code", public_no_code)
register("public_with_code", public_with_code)