We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85364bc commit 0952f2eCopy full SHA for 0952f2e
src/components/Timetable/SpeakerInfo.astro
@@ -132,8 +132,12 @@ if (!speaker) {
132
}
133
</div>
134
135
- {/* 会社名を表示する場合はコメントアウト解除する */}
136
- {/* <p class="speaker-tagline">{speaker.tagLine}</p> */}
+ {
+ // "-"または"_" の場合は会社名を表示しない
137
+ !["-", "_"].includes(speaker.tagLine ?? "") && (
138
+ <p class="speaker-tagline">{speaker.tagLine}</p>
139
+ )
140
+ }
141
</header>
142
<p class="speaker-bio">{speaker.bio}</p>
143
</article>
0 commit comments