dot-hugo/layouts/partials/head.html

61 lines
2.3 KiB
HTML
Raw Normal View History

2019-01-06 10:40:05 +00:00
<head>
<meta charset="utf-8">
<title>{{ .Title }}</title>
2021-04-23 20:42:04 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1" />
{{ hugo.Generator }}
2021-04-23 20:42:04 +00:00
<meta name="description" content="{{ .Title }} - {{ .Site.Title }} ">
{{ "<!-- ** CSS Plugins Needed for the Project ** -->" | safeHTML }}
2019-01-06 10:40:05 +00:00
{{ "<!-- Bootstrap -->" | safeHTML }}
<link rel="stylesheet" href="{{ `plugins/bootstrap/bootstrap.min.css` | absURL }}">
2019-01-06 10:40:05 +00:00
{{ "<!-- themefy-icon -->" | safeHTML }}
<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
{{ "<!-- fonts -->" | safeHTML }}
<link href="https://fonts.googleapis.com/css?family={{replace .Site.Params.font_family ' ' '+' | title}}:300,400,700&display=swap" rel="stylesheet">
2019-01-06 10:40:05 +00:00
<style>
:root{
--primary-color:{{ .Site.Params.primary_color }};
--body-color:{{ .Site.Params.body_color }};
--text-color:{{ .Site.Params.text_color }};
--text-color-dark:{{ .Site.Params.text_color_dark }};
--white-color:{{ .Site.Params.white_color }};
--light-color:{{ .Site.Params.light_color }};
--font-family:{{ replace .Site.Params.font_family ' ' '+' | title }};
}
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 }}
<link href="{{ $css.Permalink }}" rel="stylesheet" media="screen"/>
{{ "<!-- ** 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 }}
<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 }}
<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" . }}
{{ 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
</head>