Junyi-99 / hugo-theme-anubis2

Anubis2 is a simple but elegant theme for Hugo blog engine
https://hugo-theme-anubis2.netlify.app/
MIT License
52 stars 16 forks source link

error loading external css #78

Open eddumelendez opened 5 days ago

eddumelendez commented 5 days ago

Adding customCSS = [ "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"] causes ERROR error: You defined customCSS, but https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css was not found, please check your config.

Junyi-99 commented 5 days ago

Hi @eddumelendez , the customCSS needs to be a file placed in the assets folder

For example: customCSS = ["custom-css/custom1.scss", "custom-css/custom2.css"]

image