init
This commit is contained in:
63
themes/hugo-agency-theme/layouts/partials/head.html
Normal file
63
themes/hugo-agency-theme/layouts/partials/head.html
Normal file
@@ -0,0 +1,63 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.name }}<meta name="author" content="{{ . }}">{{ end }}
|
||||
{{ .Hugo.Generator }}
|
||||
<title>{{ .Title }}{{ if not .IsHome }} · {{ .Site.Title }}{{ end }}</title>
|
||||
{{ "<!-- Stylesheets -->" | safeHTML }}
|
||||
<link href="{{ "css/bootstrap-v3.3.7/bootstrap.min.css" | absURL }}" rel="stylesheet">
|
||||
<link href="{{ "css/agency.css" | absURL }}" rel="stylesheet">
|
||||
<link href="{{ "css/style.css" | absURL }}" rel="stylesheet">
|
||||
<link href="{{ "css/jquery.form-validator-v2.3.44/theme-default.min.css" | absURL }}" rel="stylesheet">
|
||||
<!--<link href="{{ "fontawesome/css/all.css" | absURL }}" rel="stylesheet">-->
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
|
||||
|
||||
|
||||
|
||||
|
||||
{{ range .Site.Params.custom_css }}
|
||||
<link rel="stylesheet" href="{{ . | absURL }}">
|
||||
{{ end }}
|
||||
|
||||
{{ "<!-- Custom Fonts -->" | safeHTML }}
|
||||
<!--<link href="{{ "font-awesome-v4.7.0/css/font-awesome.min.css" | absURL }}" rel="stylesheet" type="text/css">-->
|
||||
<!--<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">-->
|
||||
|
||||
|
||||
|
||||
{{ with not .Site.Params.disableFonts }}
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Kaushan+Script" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700" rel="stylesheet" type="text/css">
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.favicon }}
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="apple-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="apple-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="apple-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="apple-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="apple-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="apple-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="apple-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="apple-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="apple-icon-180x180.png">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="android-icon-192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="favicon-96x96.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="msapplication-TileImage" content="ms-icon-144x144.png">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
{{ end }}
|
||||
|
||||
{{ "<!-- 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 }}
|
||||
</head>
|
||||
Reference in New Issue
Block a user