optimze page title
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
{{ with .Site.Title }}<title>{{ . }}</title>{{ end }}
|
||||
<title>
|
||||
{{ if .IsPage }}
|
||||
{{ .Title }} - {{ .Site.Title }}
|
||||
{{ else }}
|
||||
{{ .Site.Title }}
|
||||
{{ end }}
|
||||
</title>
|
||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="{{ "css/bootstrap.min.css" | absURL }}">
|
||||
|
||||
Reference in New Issue
Block a user