diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2019-06-19 20:30:25 +0200 |
---|---|---|
committer | Dimitri Staessens <dimitri@ouroboros.rocks> | 2019-06-19 20:30:25 +0200 |
commit | 2a2311ea3fb1b89a266668bfd16aa96475fc183e (patch) | |
tree | 29af79791f578612ef759b9d2421a3fc7c5690ee /themes/terrassa/layouts/partials/fontawesome.html | |
parent | d3198abf51c1785994bbbbebd195aad44978e5ff (diff) | |
download | website-2a2311ea3fb1b89a266668bfd16aa96475fc183e.tar.gz website-2a2311ea3fb1b89a266668bfd16aa96475fc183e.zip |
theme: Update terrassa theme to newest version
This updates the terrassa theme to the latest version.
Diffstat (limited to 'themes/terrassa/layouts/partials/fontawesome.html')
-rw-r--r-- | themes/terrassa/layouts/partials/fontawesome.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/terrassa/layouts/partials/fontawesome.html b/themes/terrassa/layouts/partials/fontawesome.html new file mode 100644 index 0000000..6cc5fd5 --- /dev/null +++ b/themes/terrassa/layouts/partials/fontawesome.html @@ -0,0 +1,15 @@ +{{ $version := "5.7.2" }} +{{ $integrity := "sha384-0pzryjIRos8mFBWMzSSZApWtPl/5++eIfzYmTgBBmXYdhvxPc+XcFEk+zJwDgWbP" }} +{{ if and $.Site.Params.fa.version $.Site.Params.fa.integrity }} +{{ $version = $.Site.Params.fa.version }} +{{ $integrity = $.Site.Params.fa.integrity }} +{{ end }} + +{{ $src := printf "%s%s%s" "https://use.fontawesome.com/releases/v" $version "/js/all.js" }} + +<script + defer + src="{{ $src }}" + integrity="{{ $integrity }}" + crossorigin="anonymous" +></script> |