浏览代码

hero overlay condition to post.title for pages

tags/0.9.0
Alej 4 年前
父节点
当前提交
8932550858
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      vue-theme/src/pages/mixin-post-types.js

+ 1
- 1
vue-theme/src/pages/mixin-post-types.js 查看文件

@@ -60,7 +60,7 @@ const heroUtils = {
60 60
             // json.text = post.title
61 61
             json.text = post && post.content ? post.content : post.title
62 62
             
63
-            if (post.type === 'page' && post.slug === 'center') {
63
+            if (post.type === 'page' && post.slug === 'center', 'about', 'board', 'mission', 'staff', 'contact', ) {
64 64
                 json.text = post.title
65 65
             }
66 66
 

正在加载...
取消
保存