Skip to content

Commit bfd542c

Browse files
authored
Merge pull request #2090 from codebar/remove-twitter-sidebar-from-chapter-page
Remove Twitter/X sidebar from chapter page
2 parents a04d215 + 6285e13 commit bfd542c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

app/views/chapter/show.html.haml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@
3636
- @latest_workshops.each do |date, workshops|
3737
= render workshops
3838

39-
.col-md-4.col-sm-12.mt-4
40-
- if @chapter.twitter_handle
41-
%a.twitter-timeline{href: "https://twitter.com/#{@chapter.twitter_handle}", "data-widget-id" => @chapter.twitter_id }="Tweets by #{@chapter.twitter_handle}"
42-
- else
43-
%a.twitter-timeline{href: "https://twitter.com/codebar", "data-widget-id" => @chapter.twitter_id, "data-height" => "500" }="Tweets by codebar"
44-
%script(async src="https://platform.twitter.com/widgets.js" charset="utf-8")
45-
4639
- if @recent_sponsors.any?
4740
.py-4.py-lg-5.bg-light
4841
.container

0 commit comments

Comments
 (0)