* extracted meta information from head.html into partials meta.html

* modified meta parameters to have description and keywords generated via site parameters
This commit is contained in:
Wladimir Schmidt
2017-05-14 23:27:36 +02:00
parent 00ce678fe3
commit b3f976b162
3 changed files with 16 additions and 19 deletions

View File

@@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ .Title }}{{ if ne .Title .Site.Title }} // {{ .Site.Title }}{{ end }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
{{ partial "meta.html" . }}
{{ partial "og.html" . }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
@@ -16,14 +15,6 @@
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="{{ .Description }}">
<meta name="keywords" content="{{ range .Keywords }}{{ . }},{{ end }}">
<meta name="author" content="{{ .Params.author }}">
{{ .Hugo.Generator }}
</head>