diff options
author | Renaud Hager <renaud.hager@gmail.com> | 2019-08-12 01:16:37 +0300 |
---|---|---|
committer | Renaud Hager <renaud.hager@gmail.com> | 2019-08-12 01:16:37 +0300 |
commit | 8cc3dcace94258c1ea346e7dc14e190b5b776875 (patch) | |
tree | 2bca0641d5c529023c9ff1f0b52435e43cc5099d | |
parent | c4bc1120fe765908f7c5c13f239a465e77719fc4 (diff) |
Added a boolean to load Font Awesome ccs file.
-rw-r--r-- | layouts/_default/baseof.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8a45a6c..c6ed340 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,7 +8,7 @@ {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }} <meta name="description" content="{{ if .IsPage }}{{ .Site.BaseURL }}{{ else }}{{ .Site.Params.description }}{{ end }}"> {{ with .Site.Params.keywords }}<meta name="keywords" content="{{ . }}">{{ end }} - + <meta property="og:site_name" content="{{ .Site.Title }}"> <meta property="og:title" content="{{ block "og-title" . }}{{ .Site.Title }}{{ end }}"> <meta property="og:description" content="{{ if .IsPage }}{{ .Params.description }}{{ else }}{{ .Site.Params.description }}{{ end }}"> @@ -23,7 +23,7 @@ <title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title> <link rel="canonical" href="{{ .Permalink }}"> - {{ if .Site.Params.snsShare }} + {{ if or (.Site.Params.snsShare) (.Site.Params.faIcons) }} <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous"> {{ end }} <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:400,700"> |