Skip to content

Commit fc8c086

Browse files
committed
bugfix: 博客关键词不生效问题
1 parent 56c9967 commit fc8c086

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

module/Blog/Docs/release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 2.8.0
22

33
- 优化:博客留言列表审核状态文字优化
4+
- 修复:博客关键词不生效问题
45

56
---
67

module/Blog/View/pc/blog/show.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@extends($_viewFrame)
22

33
@section('pageTitleMain'){{$record['title']}}@endsection
4-
@section('pageKeywords'){{$record['title']}}@endsection
5-
@section('pageDescription'){{$record['summary']}}@endsection
4+
@section('pageKeywords'){{$record['seoKeywords']?$record['seoKeywords']:$record['title']}}@endsection
5+
@section('pageDescription'){{$record['seoDescription']?$record['seoDescription']:$record['summary']}}@endsection
66

77
{!! \ModStart\ModStart::js('asset/common/timeago.js') !!}
88

0 commit comments

Comments
 (0)