Skip to content

Commit e471b2a

Browse files
committed
keywords
1 parent a9bd079 commit e471b2a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

codingmore-web/src/main/resources/templates/main-frame.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
77
<link data-n-head="true" rel="icon" type="image/x-icon" href="images/logo-without-name.ico">
8-
<title th:text="${siteConfig.siteName}"></title>
9-
<meta name="keywords" th:content="${siteConfig.keywords}">
10-
<meta name="description" th:content="${siteConfig.siteDesc}">
8+
<title th:text="${postsVo == null ? siteConfig.siteName : postsVo.postTitle + '_'+ postsVo.userNiceName + '_'+ siteConfig.siteName}"></title>
9+
<meta name="keywords" th:content="${postsVo == null ? siteConfig.keywords : postsVo.postTitle}">
10+
<meta name="description" th:content="${postsVo == null ? siteConfig.siteDesc : postsVo.postExcerpt}">
1111
<link href="css/reset.css" type="text/css" rel="stylesheet" />
1212
<link href="css/common.css" type="text/css" rel="stylesheet" />
1313
<th:block th:replace="${top_css_source}" />

dump.rdb

133 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)