Conversation
|
I'm not sure I understand the use case - if you want to have a CSS file included in the output but not injected into the HTML, couldn't you just not add it to # Static files
STATIC_PATHS = [
'extra',
# ...
]
EXTRA_PATH_METADATA = {
# ...
}then |
|
Maybe this has to do with my limited understanding how Pelican works. I had a situation in which I wanted to include a JavaScript app in the output that I had written. That app has CSS files that were meant to be used only on that one page. The only way that I could get the app to be included in the output was to include it in |
I have a somewhat unusual use case in that I have CSS files that I don't want all CSS files included everywhere in the site which is the current behavior of bulrush. This PR allows the exclusion of CSS files that were added to the
EXTRA_PATH_METADATAdict to be ignored if an'exclude': Truekey-value pair is added. If that key-value pair isn't added then the theme operates as before.