Open jacksorjacksor opened 1 year ago
Hey
Are the files generated and exported by xStatic called /clean-assets/css/styles.css
, 0c03902b.css.v1
or 0c03902b.css
?
I think that there's a disconnect between how the css files are transferred to the output directory and how they are referenced in the html.
The css files are directly copied from the filesystem. The HTML pages are copied from the output from calling the Umbraco site over HTTP.
I personally haven't used Smidge but I think that's where the issue is here, I just directly reference the files in the views rather than via a tool that bundles everything together.
Without seeing how it all fits together I don't know what the best way is to do this, but this would likely need a custom generator to handle this.
Morning
Are the files generated and exported by xStatic called /clean-assets/css/styles.css, 0c03902b.css.v1 or 0c03902b.css?
/clean-assets/css/styles.css
Will look into further and report back. Had more success with not using Smidge (but now at work).
Hi there!
While I'm able to use xStatic to create a static version of my site with all the assets, the
<head>
elements of each page are missing thehref
values for the .CSS files. All the .CSS files have been copied across as expected.The links to the .CSS files are created in Umbraco using SmidgeHelper.
Original
xStatic
This may be a case of me not having implemented (any) transformers, or any other functionality of xStatic.
Unsure if this is an issue and more just me missing something, but let me know how I can set the links correctly.
Thank you so much for making this package, it's HUGELY valuable - hope to get to know it better to be able to support it in future!
Rich
System info: