optimze page title

This commit is contained in:
JamesFlare1212
2024-04-07 18:35:50 -04:00
parent e1776b8583
commit 9191d15ee0
2 changed files with 7 additions and 3 deletions

View File

@@ -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 }}">