2019-01-06 10:40:05 +00:00
< head >
< meta charset = "utf-8" >
< title > {{ .Title }}< / title >
2021-04-23 20:43:36 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2020-07-25 06:49:49 +00:00
{{ hugo.Generator }}
2021-04-23 20:42:04 +00:00
< meta name = "description" content = "{{ .Title }} - {{ .Site.Title }} " >
2020-07-25 06:49:49 +00:00
{{ "<!-- ** CSS Plugins Needed for the Project ** --> " | safeHTML }}
2019-01-06 10:40:05 +00:00
{{ "<!-- Bootstrap --> " | safeHTML }}
2020-01-08 10:41:37 +00:00
< link rel = "stylesheet" href = "{{ `plugins/bootstrap/bootstrap.min.css` | absURL }}" >
2019-01-06 10:40:05 +00:00
{{ "<!-- themefy - icon --> " | safeHTML }}
2020-01-08 10:41:37 +00:00
< link rel = "stylesheet" href = "{{ `plugins/themify-icons/themify-icons.css` | absURL }}" >
{{ "<!-- Favicon --> " | safeHTML }}
< link rel = "icon" href = "{{ `images/favicon.png` | absURL }}" type = "image/x-icon" >
2019-01-06 10:40:05 +00:00
2020-01-08 10:41:37 +00:00
{{ "<!-- fonts --> " | safeHTML }}
< link href = "https://fonts.googleapis.com/css?family={{replace .Site.Params.font_family ' ' '+' | title}}:300,400,700&display=swap" rel = "stylesheet" >
2021-08-20 11:07:57 +00:00
{{ "<!-- PDF.js --> " | safeHTML }}
< script src = "https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.9.359/pdf.min.js" > < / script >
< script src = "https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.3/html2pdf.bundle.js" > < / script >
2020-01-08 10:41:37 +00:00
2019-01-06 10:40:05 +00:00
< style >
:root{
2020-01-08 10:41:37 +00:00
--primary-color:{{ .Site.Params.primary_color }};
2020-02-18 10:58:36 +00:00
--body-color:{{ .Site.Params.body_color }};
2020-01-08 10:41:37 +00:00
--text-color:{{ .Site.Params.text_color }};
--text-color-dark:{{ .Site.Params.text_color_dark }};
--white-color:{{ .Site.Params.white_color }};
2020-02-18 10:58:36 +00:00
--light-color:{{ .Site.Params.light_color }};
2020-01-08 10:41:37 +00:00
--font-family:{{ replace .Site.Params.font_family ' ' '+' | title }};
2019-11-13 06:23:31 +00:00
}
2019-01-06 10:40:05 +00:00
< / style >
2019-09-04 11:35:48 +00:00
{{ "<!-- Main Stylesheet --> " | safeHTML }}
2020-04-19 04:14:25 +00:00
{{ $css := resources.Get "css/style.css" | minify }}
2020-04-16 03:53:21 +00:00
< link href = "{{ $css.Permalink }}" rel = "stylesheet" media = "screen" / >
2020-07-25 06:49:49 +00:00
{{ "<!-- ** JS Plugins Needed for the Project ** --> " | safeHTML }}
2019-01-06 10:40:05 +00:00
2019-09-04 11:35:48 +00:00
{{ "<!-- jquiry --> " | safeHTML }}
2020-01-08 10:41:37 +00:00
< script src = "{{ `plugins/jquery/jquery-1.12.4.js` | absURL }}" > < / script >
2019-01-06 10:40:05 +00:00
2019-09-04 11:35:48 +00:00
{{ "<!-- jquary ui --> " | safeHTML }}
2020-01-08 10:41:37 +00:00
< script src = "{{ `plugins/jquery/jquery-ui.js`| absURL }}" > < / script >
{{ "<!-- Bootstrap JS --> " | safeHTML }}
< script src = "{{ `plugins/bootstrap/bootstrap.min.js` | absURL }}" > < / script >
{{ "<!-- match - height JS --> " | safeHTML }}
< script src = "{{ `plugins/match-height/jquery.matchHeight-min.js` | absURL }}" > < / script >
2019-01-06 10:40:05 +00:00
2020-04-23 03:04:24 +00:00
{{ template "_internal/google_analytics.html" . }}
2020-09-21 12:02:43 +00:00
{{ if templates.Exists ( printf "partials/overrides/header.html" ) }}
{{ partial "partials/overrides/header.html" . }}
{{ else }}
{{ "<!-- create /layouts/partials/overrides/header.html in your own theme or root directory to add your custom content here --> " | safeHTML }}
{{ end }}
2020-04-23 03:04:24 +00:00
2021-04-29 03:13:39 +00:00
<!-- Open Graph image and Twitter Card metadata -->
{{ $image_path := .Params.image | default site.Params.image }}
{{ $image_path_local := printf "static/%s" $image_path }}
{{ $image_ext := trim (path.Ext $image_path | lower) "." }}
{{ if fileExists $image_path_local }}
< meta property = "og:image" content = "{{ $image_path | absURL }}" / >
{{ if ne $image_ext "svg" }}
{{ with (imageConfig $image_path_local) }}
{{ if (and (gt .Width 144) (gt .Height 144)) }}
< meta name = "twitter:image" content = "{{ $image_path | absURL }}" / >
< meta name = "twitter:card" content = "summary{{ if (and (gt .Width 300) (gt .Height 157) (not (eq .Width .Height))) }}_large_image{{ end }}" >
{{ end }}
< meta property = "og:image:width" content = "{{ .Width }}" >
< meta property = "og:image:height" content = "{{ .Height }}" >
{{ end }}
{{ end }}
< meta property = "og:image:type" content = "image/{{ if eq $image_ext `svg` }}svg+xml{{ else }}{{ replaceRE `^jpg$` `jpeg` $image_ext }}{{ end }}" >
{{ end }}
< meta name = "twitter:title" content = "{{ .Title }}" / >
< meta name = "twitter:description" content = "{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" / >
{{ with site.Social.twitter }}< meta name = "twitter:site" content = "@{{ . }}" / > {{ end }}
{{ range site.Authors }}
{{ with .twitter }}< meta name = "twitter:creator" content = "@{{ . }}" / > {{ end }}
{{ end }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
2020-09-21 12:02:43 +00:00
< / head >