aboutsummaryrefslogtreecommitdiffstats
path: root/assets/js
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-17 04:43:33 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-17 04:43:33 +0100
commit0d1956e4b6dbf511b6968aa1aca6af4c814814b0 (patch)
tree57097c37fba28bd445f4ab0e19772334ec6ea25f /assets/js
parent94936b8c4e03a64cd89f0ccdfb79a97fb44ebb30 (diff)
downloadhugo-minimalist-theme-0d1956e4b6dbf511b6968aa1aca6af4c814814b0.tar.gz
hugo-minimalist-theme-0d1956e4b6dbf511b6968aa1aca6af4c814814b0.tar.bz2
hugo-minimalist-theme-0d1956e4b6dbf511b6968aa1aca6af4c814814b0.zip
[CSS][Icons] Vendor Fontawesome & Academicons
Instead of loading from CDN all the css, vendor it an only include the CSS classes that I use. Font awesome 6.7.2 Academicons 1.9.4
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/loads.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/assets/js/loads.js b/assets/js/loads.js
index c8a03a7..c50037c 100644
--- a/assets/js/loads.js
+++ b/assets/js/loads.js
@@ -11,14 +11,4 @@ addEventListener("load", function () {
if (document.querySelector(".highlight .chroma")) {
load_css("/css/syntax.css");
}
-
- if (document.querySelector(".ai")) {
- load_css(
- "https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css",
- );
- }
- if (document.querySelectorAll(".fa,.fab,.fas,.far"))
- load_css(
- "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css",
- );
});