Skip to content

Commit

Permalink
Used local fontawesome-webfont.woff file
Browse files Browse the repository at this point in the history
For the last ten years (since 7abaceb), the site has fetched its Font
Awesome font asset from a remote CDN. It seems to me that since
7d21f20, we would rather host our static assets ourselves. This patch
makes that change for the current version of Font Awesome.
  • Loading branch information
adamzap authored and bmispelon committed Jan 15, 2025
1 parent 8ba1f7b commit e51e74b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions djangoproject/scss/font-awesome/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Variables
// --------------------------

// $fa-font-path: "../fonts/font-awesome" !default;
$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts" !default; // for referencing Bootstrap CDN font files directly
$fa-font-path: "../fonts" !default;
$fa-css-prefix: icon !default;
$fa-version: "4.2.0" !default;
$fa-border-color: #eee !default;
Expand Down

0 comments on commit e51e74b

Please sign in to comment.