Quellcode durchsuchen

hero overlay condition to post.title for pages - fix

tags/0.9.0
Alej vor 4 Jahren
Ursprung
Commit
0fac55b75e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      vue-theme/src/pages/mixin-post-types.js

+ 1
- 1
vue-theme/src/pages/mixin-post-types.js Datei anzeigen

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

Laden…
Abbrechen
Speichern