Skip to content

Commit

Permalink
Update to fontawesome 6 and self-host
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Feb 17, 2022
1 parent 0f50abc commit 0e13a1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion perl/saliweb/frontend.pm
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,9 @@ sub get_start_html_parameters {
ga('send', 'pageview'); ";

my %param = (-title => $self->{page_title},
-style => {-src=>[$style, "https://use.fontawesome.com/releases/v5.6.3/css/all.css"]},
-style => {-src=>[$style,
"/fontawesome6/css/fontawesome.min.css",
"/fontawesome6/css/brands.min.css"]},
-script=>[{-language => 'JavaScript',
-src => "/saliweb/js/salilab.js"},
{-language => 'JavaScript',
Expand Down
3 changes: 2 additions & 1 deletion python/saliweb/frontend/templates/saliweb/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
{%- block meta %}
{%- endblock %}
<link rel="stylesheet" type="text/css" href="/saliweb/css/server.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous" />
<link href="/fontawesome6/css/fontawesome.min.css" rel="stylesheet" type="text/css" />
<link href="/fontawesome6/css/brands.min.css" rel="stylesheet" type="text/css" />
{%- block css %}
{%- endblock %}

Expand Down

0 comments on commit 0e13a1b

Please sign in to comment.