File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed
Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -132,8 +132,12 @@ if (!speaker) {
132132 }
133133 </div >
134134 </div >
135- { /* 会社名を表示する場合はコメントアウト解除する */ }
136- { /* <p class="speaker-tagline">{speaker.tagLine}</p> */ }
135+ {
136+ // "-"または"_" の場合は会社名を表示しない
137+ ! [" -" , " _" ].includes (speaker .tagLine ?? " " ) && (
138+ <p class = " speaker-tagline" >{ speaker .tagLine } </p >
139+ )
140+ }
137141 </header >
138142 <p class =" speaker-bio" >{ speaker .bio } </p >
139143</article >
Original file line number Diff line number Diff line change 359359 "speakers" : [
360360 {
361361 "id" : " 4926b4e4-5468-4cf7-abdf-2b5b05eca1b7" ,
362- "name" : " Chihiro "
362+ "name" : " chihiro "
363363 }
364364 ],
365365 "categories" : [
Original file line number Diff line number Diff line change 204204 "id" : " 4926b4e4-5468-4cf7-abdf-2b5b05eca1b7" ,
205205 "firstName" : " " ,
206206 "lastName" : " " ,
207- "fullName" : " Chihiro " ,
207+ "fullName" : " chihiro " ,
208208 "bio" : " 2023/04 からGo言語を始めました。主にWebシステムのサーバサイドの開発を行っています。" ,
209- "tagLine" : " Morisawa inc. " ,
209+ "tagLine" : " - " ,
210210 "profilePicture" : " https://sessionize.com/image/69db-400o400o1-Eq5vvYaFAjj4pFEvBw4Ub5.jpg" ,
211211 "sessions" : [
212212 {
Original file line number Diff line number Diff line change 12601260 "speakers" : [
12611261 {
12621262 "id" : " 4926b4e4-5468-4cf7-abdf-2b5b05eca1b7" ,
1263- "name" : " Chihiro "
1263+ "name" : " chihiro "
12641264 }
12651265 ],
12661266 "categories" : [
18921892 "speakers" : [
18931893 {
18941894 "id" : " 4926b4e4-5468-4cf7-abdf-2b5b05eca1b7" ,
1895- "name" : " Chihiro "
1895+ "name" : " chihiro "
18961896 }
18971897 ],
18981898 "categories" : [
You can’t perform that action at this time.
0 commit comments