- protect do .external .facebook =_'links.footer.help_text.facebook', 'Join our facebook group' do |title| %a{href: "https://www.facebook.com/groups/648758205249998/", target: :_blank, title: title} = svg 'facebook', 'facebook logo' .github =_'links.footer.text.Help_contribute' do |title| %a{href: 'https://github.com/bikebike/BikeBike', target: :_blank, title: title} = svg 'github', 'github logo' .user-controls - if logged_in? = link_to (_!current_user.name), settings_path, class: 'my-account' = _!' | ' = link_to (_'forms.actions.generic.Log_out'), logout_path, class: 'logout' - else = signin_link %ul.locales .site-info -# Commented the line below because the contact form was getting so much spam it was overwhelming the gmail smtp service -#.contact-us=link_to (_'links.footer.help_text.contact'), contact_path, id: 'contact-link' .contact-us=link_to 'bikebikeeverywhere@gmail.com', 'mailto:bikebikeeverywhere@gmail.com', id: 'contact-link' .copy =_'links.footer.help_text.contributors', 'Who contributed to building this website' do |title| =link_to :humans_txt, {title: title} do =((_!"©#{Date.today.strftime("%Y")} Bike!Bike!") || '').html_safe