Skip to content

Commit 6c38b82

Browse files
committed
Make event button text variable - add event_button_label
1 parent 9cd69b8 commit 6c38b82

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_includes/home-news-bar.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ <h4>{{ post.title }}</h4>
4646
{% elsif post.categories contains 'blog' %}Read Blog
4747
{% elsif post.categories contains 'presentation' %}View Presentation
4848
{% elsif post.categories contains 'video' %}Watch Video
49-
{% elsif post.categories contains 'event' %}Join Virtual Meetup
49+
{% elsif post.categories contains 'event' %}
50+
{% if post.event_button_label != '' %}{{ post.event_button_label }}
51+
{% else %}Join Virtual Meetup{% endif%}
5052
{% else %}Read More
5153
{% endif %}
5254
</a>

0 commit comments

Comments
 (0)