Sfoglia il codice sorgente

changed social media links in simplenews template

bach 2 anni fa
parent
commit
0d33266a4a

+ 4 - 14
web/themes/custom/materiotheme/templates/simplenews-newsletter-body.html.twig

@@ -73,23 +73,13 @@
                                                   <tbody>
                                                     <tr>
                                                       <td style="padding: 2px; margin: 0; vertical-align: top;">
-                                                        <a href="http://www.facebook.com/sharer.php?u={{ path('entity.node.canonical', {'node': node.id}) }}" target="_blank" style="display: block; border: none; text-decoration: none;">
-                                                          <img src="https://materio.com/sites/default/files/ico_social_facebook.png" alt="Facebook" style="vertical-align: top; border: none;">
+                                                        <a href="https://www.instagram.com/materio_fr" target="_blank" style="display: block; border: none; text-decoration: none;">
+                                                          <img src="https://materio.com/sites/default/files/ico_social_instagram.png" alt="instagram" style="vertical-align: top; border: none;">
                                                         </a>
                                                       </td>
                                                       <td style="padding: 2px; margin: 0; vertical-align: top;">
-                                                        <a href="http://twitter.com/share?url={{ path('entity.node.canonical', {'node': node.id}) }}" target="_blank" style="display: block; border: none; text-decoration: none;">
-                                                          <img src="https://materio.com/sites/default/files/ico_social_twitter.png" alt="Twitter" style="vertical-align: top; border: none;">
-                                                        </a>
-                                                      </td>
-                                                      <td style="padding: 2px; margin: 0; vertical-align: top;">
-                                                        <a href="http://www.linkedin.com/shareArticle?url={{ path('entity.node.canonical', {'node': node.id}) }}" target="_blank" style="display: block; border: none; text-decoration: none;">
-                                                          <img src="https://materio.com/sites/default/files/ico_social_linkedin.png" alt="Linkedin" style="vertical-align: top; border: none;">
-                                                        </a>
-                                                      </td>
-                                                      <td style="padding: 2px; margin: 0; vertical-align: top;">
-                                                        <a href="http://pinterest.com/hello0691/ze-daily-mat%C3%A9rio/" target="_blank" style="display: block; border: none; text-decoration: none;">
-                                                          <img src="https://materio.com/sites/default/files/ico_social_pinterest.png" alt="Pinterest" style="vertical-align: top; border: none;">
+                                                        <a href="https://www.youtube.com/channel/UChKuhMq9rSfLqUmPc9dEgXw" target="_blank" style="display: block; border: none; text-decoration: none;">
+                                                          <img src="https://materio.com/sites/default/files/ico_social_youtube.png" alt="youtube" style="vertical-align: top; border: none;">
                                                         </a>
                                                       </td>
                                                     </tr>