mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 15:56:29 -05:00
Moved font awesome dependencies locally
This commit is contained in:
parent
44cdeecd31
commit
b4eabbc714
6 changed files with 7 additions and 7 deletions
5
assets/css/fontawesome.css
vendored
Normal file
5
assets/css/fontawesome.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -15,11 +15,10 @@
|
||||||
<!-- css -->
|
<!-- css -->
|
||||||
{{ $style := resources.Get "css/style.css" }}
|
{{ $style := resources.Get "css/style.css" }}
|
||||||
{{ $markdown := resources.Get "css/markdown.css" }}
|
{{ $markdown := resources.Get "css/markdown.css" }}
|
||||||
|
{{ $fontawesome := resources.Get "css/fontawesome.css" }}
|
||||||
{{ $syntaxHighlight := resources.Get "css/syntax-highlight.css" }}
|
{{ $syntaxHighlight := resources.Get "css/syntax-highlight.css" }}
|
||||||
{{ $css := slice $style $markdown $syntaxHighlight | resources.Concat "style.css" | resources.Minify | resources.Fingerprint }}
|
{{ $css := slice $style $markdown $fontawesome $syntaxHighlight | resources.Concat "style.css" | resources.Minify | resources.Fingerprint }}
|
||||||
<link rel="stylesheet" href="{{ $css.Permalink }}">
|
<link rel="stylesheet" href="{{ $css.Permalink }}">
|
||||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Comfortaa|Open+Sans&display=swap" rel="stylesheet">
|
|
||||||
<!-- custom css -->
|
<!-- custom css -->
|
||||||
{{ range .Site.Params.custom_css }}
|
{{ range .Site.Params.custom_css }}
|
||||||
<link rel="stylesheet" href="{{ . }}">
|
<link rel="stylesheet" href="{{ . }}">
|
||||||
|
@ -41,8 +40,4 @@
|
||||||
<script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
|
||||||
<![endif]-->` | safeHTML }}
|
<![endif]-->` | safeHTML }}
|
||||||
|
|
||||||
<!-- Analytics -->
|
|
||||||
{{- if and (not .Site.IsServer) .Site.GoogleAnalytics -}}
|
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
|
||||||
{{- end -}}
|
|
||||||
</head>
|
</head>
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
BIN
static/webfonts/fa-brands-400.woff2
Normal file
BIN
static/webfonts/fa-brands-400.woff2
Normal file
Binary file not shown.
BIN
static/webfonts/fa-solid-900.woff2
Normal file
BIN
static/webfonts/fa-solid-900.woff2
Normal file
Binary file not shown.
Loading…
Reference in a new issue