Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/StaticMania/roxo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..9d2d48c
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,25 @@
+<head>
+ <meta charset="utf-8" />
+ <title>{{ .Title }}</title>
+
+ {{ "<!-- mobile responsive meta -->" | safeHTML }}
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
+ {{ with .Site.Params.author }}
+ <meta name="author" content="{{ . }}">
+ {{ end }}
+ {{ hugo.Generator }}
+
+ {{ "<!-- Bootstrap -->" | safeHTML }}
+ {{ $bootstrap := resources.Get "css/bootstrap.css" | minify }}
+ <link rel="stylesheet" href="{{ $bootstrap.Permalink }}" />
+ {{ "<!-- font-awesome -->" | safeHTML }}
+ <link rel="stylesheet" href="{{ "font-awesome/css/font-awesome.min.css" | absURL }}" />
+ {{ "<!-- Main Stylesheets -->" | safeHTML }}
+ {{ $style := resources.Get "scss/style.scss" | resources.ToCSS | minify }}
+ <link href="{{ $style.Permalink }}" rel="stylesheet" />
+
+ <!--Favicon-->
+ <link rel="shortcut icon" href="{{ "images/favicon.png" | absURL }}" type="image/x-icon" />
+ <link rel="icon" href="{{ "images/favicon.ico" | absURL }}" type="image/x-icon" />
+</head> \ No newline at end of file