解决文档直接打开显示的标题错误的BUG

pull/358/head
lifei6671 2018-07-24 18:23:09 +08:00
parent 4f0f432c34
commit 774530bbc2
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
<meta name="author" content="Minho" />
<meta name="site" content="https://www.iminho.me" />
<meta name="keywords" content="{{.Model.BlogTitle}}">
<meta name="description" content="{{.Model.BlogExcerpt}}">
<meta name="description" content="{{.Model.BlogTitle}}-{{.Model.BlogExcerpt}}">
<title>{{.Model.BlogTitle}} - Powered by MinDoc</title>
<!-- Bootstrap -->

View File

@ -2,7 +2,7 @@
<html lang="zh-CN">
<head>
<title>{{.Model.BookName}} - Powered by MinDoc</title>
<title>{{.Title}} - Powered by MinDoc</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -10,8 +10,8 @@
<meta name="renderer" content="webkit">
<meta name="author" content="Minho" />
<meta name="site" content="https://www.iminho.me" />
<meta name="keywords" content="{{.Model.BookName}}">
<meta name="description" content="{{.Model.Description}}">
<meta name="keywords" content="{{.Model.BookName}},{{.Title}}">
<meta name="description" content="{{.Title}}-{{.Model.Description}}">
<!-- Bootstrap -->
<link href="{{cdncss "/static/bootstrap/css/bootstrap.min.css"}}" rel="stylesheet">