forked from Git/hugo-story
1
0
Fork 0
agr.asia/layouts/partials/head.html

32 lines
1.9 KiB
HTML
Raw Normal View History

2020-07-02 07:05:45 +02:00
<head>
<title>{{ .Site.Title }}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
2024-04-19 18:14:44 +02:00
<meta name="description" content="AGR is a boutique business intelligence firm based in Asia with over 30 years of experience in providing actionable intelligence and risk management solutions to SMEs and multinationals. The company's geographical coverage includes Southeast Asia and South Asia, the Middle East and North Africa, the Middle East and some countries in West Africa.">
<meta name="author" content="Olivier Falcoz">
2020-07-02 07:05:45 +02:00
{{ if .Site.Params.favicon }}
2023-01-19 00:59:02 +01:00
{{ partial "favicon" }}
2020-07-02 07:05:45 +02:00
{{ end }}
2023-01-19 00:59:02 +01:00
2020-07-02 07:05:45 +02:00
<!-- CSS -->
{{ if .Site.IsServer }}
2023-01-19 00:59:02 +01:00
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "outputStyle" "compressed" "enableSourceMap" false) }}
2020-07-02 07:05:45 +02:00
<link rel="stylesheet" href="{{ ($style).RelPermalink }}">
{{ else }}
2023-01-19 00:59:02 +01:00
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "enableSourceMap" false) }}
2020-07-02 07:05:45 +02:00
<link rel="stylesheet" href="{{ ($style | minify).RelPermalink }}">
{{ end }}
{{ if .Site.IsServer }}
2023-01-19 00:59:02 +01:00
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }}
2020-07-02 07:05:45 +02:00
<noscript><link rel="stylesheet" href="{{ ($noscript).RelPermalink }}" /></noscript>
{{ else }}
2023-01-19 00:59:02 +01:00
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }}
2020-07-02 07:05:45 +02:00
<noscript><link rel="stylesheet" href="{{ ($noscript | minify).RelPermalink }}" /></noscript>
{{end}}
2023-01-19 00:59:02 +01:00
<!-- FontAwesome CSS -->
{{ range .Site.Params.asset.fontawesome_css -}}
<link rel="stylesheet" href="{{ . | absURL }}">
{{- end }}
2024-04-19 18:14:44 +02:00
</head>