Skip to content

Commit

Permalink
Merge pull request #28 from jonasrosland/main
Browse files Browse the repository at this point in the history
Add FontAwesome6 compatibility to the site
  • Loading branch information
gmkurtzer authored Feb 7, 2024
2 parents 9125613 + 4051ece commit e1eab63
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 5 deletions.
8 changes: 4 additions & 4 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ params:
socialmediatitle: Follow Us
socialmedia:
- link: https://github.com/openela
icon: github
icon: brands fa-github
target: _blank
- link: https://twitter.com/@openelaorg
icon: twitter
icon: brands fa-twitter
target: _blank
- link: https://fosstodon.org/@openela
icon: mastodon
icon: brands fa-mastodon
target: _blank
- link: https://www.linkedin.com/company/openela
icon: linkedin
icon: brands fa-linkedin
target: _blank
quicklinks:
column1:
Expand Down
5 changes: 4 additions & 1 deletion layouts/partials/css.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
{{- $css := resources.Get $sass | toCSS $cssOpts | minify | fingerprint }}
<link rel="stylesheet" type="text/css" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}">
{{- end }}
<link rel="stylesheet" type="text/css" href="{{ "css/icons.css" | relURL }}">
<link rel="stylesheet" type="text/css" href="{{ "/fontawesome/css/fontawesome.min.css" | relURL }}">
<link rel="stylesheet" type="text/css" href="{{ "/fontawesome/css/brands.min.css" | relURL }}">
<link rel="stylesheet" type="text/css" href="{{ "/fontawesome/css/solid.min.css" | relURL }}">
<link rel="stylesheet" type="text/css" href="{{ "/fontawesome/css/v4-font-face.min.css" | relURL }}">
<link rel="stylesheet" type="text/css" href="{{ "css/custom.css" | relURL }}">
6 changes: 6 additions & 0 deletions static/fontawesome/css/brands.min.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions static/fontawesome/css/fontawesome.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions static/fontawesome/css/solid.min.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*!
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2023 Fonticons, Inc.
*/
:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}
6 changes: 6 additions & 0 deletions static/fontawesome/css/v4-font-face.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added static/fontawesome/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file added static/fontawesome/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file added static/fontawesome/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file added static/fontawesome/webfonts/fa-solid-900.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit e1eab63

Please sign in to comment.