|
|
@@ -65,6 +65,7 @@ const heroUtils = {
|
|
65
|
65
|
json.text = post && post.content ? post.content : post.title
|
|
66
|
66
|
|
|
67
|
67
|
// hero title for non-list pages: center, about etc - needs a better method
|
|
|
68
|
+ // post.type == 'page' && post.slug == 'thing' || post.type == 'page' && post.slug == 'otherthing'
|
|
68
|
69
|
if (
|
|
69
|
70
|
post.type == 'page' && post.slug == 'center' ||
|
|
70
|
71
|
post.type == 'page' && post.slug == 'about' ||
|
|
|
@@ -82,12 +83,10 @@ const heroUtils = {
|
|
82
|
83
|
post.type == 'page' && post.slug == 'craft-in-schools' ||
|
|
83
|
84
|
post.type == 'page' && post.slug == 'mailing-list' ||
|
|
84
|
85
|
post.type == 'page' && post.slug == 'handwork-celebrating-american-craft-2026'
|
|
85
|
|
-
|
|
86
|
86
|
|
|
87
|
87
|
) {
|
|
88
|
88
|
json.text = post.title
|
|
89
|
89
|
}
|
|
90
|
|
- // post.type == 'page' && post.slug == 'thing' || post.type == 'page' && post.slug == 'otherthing'
|
|
91
|
90
|
return json
|
|
92
|
91
|
},
|
|
93
|
92
|
_clearHero(store) {
|