Skip to content

Commit

Permalink
modified head for meta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
somrat committed Dec 3, 2019
1 parent 220d6f4 commit 38da64a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<title>{{ .Site.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">
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
Expand All @@ -16,10 +15,10 @@

{{ "<!-- Main Stylesheet -->" | safeHTML }}
{{ $styles := resources.Get "css/style.css" | minify }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" media="screen">
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">

{{ "<!--Favicon-->" | safeHTML }}
<link rel="shortcut icon" href="{{ "images/favicon.png" | absURL }} " type="image/x-icon">
<link rel="icon" href="{{ "images/favicon.png" | absURL }} " type="image/x-icon">
<link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
<link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">

</head>

0 comments on commit 38da64a

Please sign in to comment.