diff options
author | Derek Severin <severinderek@gmail.com> | 2018-09-10 10:13:58 +0300 |
---|---|---|
committer | Derek Severin <severinderek@gmail.com> | 2018-09-10 10:13:58 +0300 |
commit | ea6fa8bbc08508cd145b618fa0fe75823805e0e6 (patch) | |
tree | e63ada6e970df8d9b86041c4c22cc33c6a6b3390 /layouts/partials/head.html | |
parent | 4dc67cffa49f060841d1e72f59a799883d0a6bba (diff) |
First commit
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..512966b --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,47 @@ +{{ "<!-- HEAD.HTML -->" | safeHTML }} +<meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> + +{{ "<!-- Meta data -->" | safeHTML }} +<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title> +<meta name="title" content="{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}"> +{{ with .Site.Params.meta.author }} + <meta name="author" content="{{ . }}"> +{{ end }} +{{ with .Site.Params.meta.description }} + <meta name="description" content="{{ . }}"> +{{ end }} + +<base href="{{ .Site.BaseURL }}"> + +{{ .Hugo.Generator }} + +{{ "<!-- Favicon -->" | safeHTML }} +<link rel="shortcut icon" href="{{ .Site.Params.meta.favicon | relURL }}" type="image/x-icon" /> +<link rel="icon" href="{{ .Site.Params.meta.favicon | relURL }}" type="image/x-icon" /> + +{{ "<!-- Bootstrap -->" | safeHTML }} +<link rel="stylesheet" href="{{ "plugins/bootstrap/css/bootstrap.min.css" | relURL }}" type="text/css"> + +{{ "<!-- Custom Fonts -->" | safeHTML }} +<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' type='text/css'> +<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' type='text/css'> +<link rel="stylesheet" href="{{ "plugins/font-awesome/css/all.css" | relURL }}" type="text/css"> + +{{ "<!-- CSS Plugins -->" | safeHTML }} +<link rel="stylesheet" href="{{ "plugins/animate/animate.min.css" | relURL }}" type="text/css"> + +{{ "<!-- Custom CSS -->" | safeHTML }} +<link rel="stylesheet" href="{{ "css/default.css" | relURL }}" type="text/css"> +{{ range .Site.Params.custom_css }} + <link rel="stylesheet" href="{{ (printf "%s%s" "css/" .) | relURL }}" type="text/css"> +{{ end }} +<link rel="stylesheet" href="{{ "css/theme.css" | relURL }}" type="text/css"> + +{{ "<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->" | safeHTML }} +{{ "<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->" | safeHTML }} +{{ "<!--[if lt IE 9]>" | safeHTML }} + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> + <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> +{{ "<![endif]-->" | safeHTML }} |