mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 22:54:22 +01:00
Added head.html
This commit is contained in:
parent
18f02a15c9
commit
82c56a914d
1 changed files with 29 additions and 0 deletions
29
layouts/partials/head.html
Normal file
29
layouts/partials/head.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<head>
|
||||
<meta charset="{{ site.Params.charset }}">
|
||||
<title>{{ .Title }}</title>
|
||||
|
||||
{{ "<!-- Mobile responsive meta -->" | safeHTML }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}">
|
||||
{{ with site.Params.author }}
|
||||
<meta name="author" content="{{ . }}">
|
||||
{{ end }}
|
||||
{{ hugo.Generator }}
|
||||
|
||||
{{ "<!-- Plugins -->" | safeHTML }}
|
||||
{{ range site.Params.plugins.css }}
|
||||
<link rel="stylesheet" href="{{ .link | absURL }}">
|
||||
{{ end }}
|
||||
|
||||
{{"<!-- Main Stylesheet -->" | safeHTML }}
|
||||
{{ $styles := resources.Get "css/style.css" | minify }}
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
|
||||
|
||||
{{"<!-- Custom Stylesheet -->" | safeHTML}}
|
||||
{{ $custom := resources.Get "css/custom.css" | minify }}
|
||||
<link rel="stylesheet" href="{{ $custom.Permalink }}" media="screen">
|
||||
|
||||
{{ "<!--Favicon-->" | safeHTML }}
|
||||
<link rel="shortcut icon" href="{{ `img/favicon.png` | absURL }}" type="image/x-icon">
|
||||
<link rel="icon" href="{{ `img/favicon.png` | absURL }}" type="image/x-icon">
|
||||
</head>
|
Loading…
Reference in a new issue