|
16 | 16 | </f:if> |
17 | 17 | </f:else> |
18 | 18 | </f:if> |
19 | | - <f:render partial="SocialmediaLink" arguments="{linkHref: facebookLink, linkTitle: 'Facebook', iconClass: 'icons icon-t3-facebook'}"/> |
| 19 | + <f:render section="SocialmediaLink" arguments="{linkHref: facebookLink, linkTitle: 'Facebook', iconClass: 'icons icon-t3-facebook'}"/> |
20 | 20 | </f:if> |
21 | 21 | <f:comment><!-- twitterLink --></f:comment> |
22 | 22 | <f:if condition="{theme:constant(constant:'themes.configuration.socialmedia.useTwitter')}"> |
|
30 | 30 | </f:if> |
31 | 31 | </f:else> |
32 | 32 | </f:if> |
33 | | - <f:render partial="SocialmediaLink" arguments="{linkHref: twitterLink, linkTitle: 'Twitter', iconClass: 'icons icon-t3-twitter'}"/> |
| 33 | + <f:render section="SocialmediaLink" arguments="{linkHref: twitterLink, linkTitle: 'Twitter', iconClass: 'icons icon-t3-twitter'}"/> |
34 | 34 | </f:if> |
35 | 35 | <f:comment><!-- linkedInLink --></f:comment> |
36 | 36 | <f:if condition="{theme:constant(constant:'themes.configuration.socialmedia.useLinkedIn')}"> |
|
44 | 44 | </f:if> |
45 | 45 | </f:else> |
46 | 46 | </f:if> |
47 | | - <f:render partial="SocialmediaLink" arguments="{linkHref: linkedInLink, linkTitle: 'LinkedIn', iconClass: 'icons icon-t3-linkedin'}"/> |
| 47 | + <f:render section="SocialmediaLink" arguments="{linkHref: linkedInLink, linkTitle: 'LinkedIn', iconClass: 'icons icon-t3-linkedin'}"/> |
48 | 48 | </f:if> |
49 | 49 | <f:comment><!-- xingLink --></f:comment> |
50 | 50 | <f:if condition="{theme:constant(constant:'themes.configuration.socialmedia.useXing')}"> |
|
58 | 58 | </f:if> |
59 | 59 | </f:else> |
60 | 60 | </f:if> |
61 | | - <f:render partial="SocialmediaLink" arguments="{linkHref: xingLink, linkTitle: 'Xing', iconClass: 'icons icon-t3-xing'}"/> |
| 61 | + <f:render section="SocialmediaLink" arguments="{linkHref: xingLink, linkTitle: 'Xing', iconClass: 'icons icon-t3-xing'}"/> |
62 | 62 | </f:if> |
63 | 63 | <f:comment><!-- vimeoLink --></f:comment> |
64 | 64 | <f:if condition="{theme:constant(constant:'themes.configuration.socialmedia.useVimeo')}"> |
|
72 | 72 | </f:if> |
73 | 73 | </f:else> |
74 | 74 | </f:if> |
75 | | - <f:render partial="SocialmediaLink" arguments="{linkHref: vimeoLink, linkTitle: 'Vimeo', iconClass: 'icons icon-t3-vimeo'}"/> |
| 75 | + <f:render section="SocialmediaLink" arguments="{linkHref: vimeoLink, linkTitle: 'Vimeo', iconClass: 'icons icon-t3-vimeo'}"/> |
76 | 76 | </f:if> |
77 | 77 | <f:comment><!-- googlePlusLink --></f:comment> |
78 | 78 | <f:if condition="{theme:constant(constant:'themes.configuration.socialmedia.useGooglePlus')}"> |
|
86 | 86 | </f:if> |
87 | 87 | </f:else> |
88 | 88 | </f:if> |
89 | | - <f:render partial="SocialmediaLink" arguments="{linkHref: googlePlusLink, linkTitle: 'Googleplus', iconClass: 'icons icon-t3-googleplus'}"/> |
| 89 | + <f:render section="SocialmediaLink" arguments="{linkHref: googlePlusLink, linkTitle: 'Googleplus', iconClass: 'icons icon-t3-googleplus'}"/> |
90 | 90 | </f:if> |
91 | 91 | <f:comment><!-- pinterestLink --></f:comment> |
92 | 92 | <f:if condition="{theme:constant(constant:'themes.configuration.socialmedia.usePinterest')}"> |
|
100 | 100 | </f:if> |
101 | 101 | </f:else> |
102 | 102 | </f:if> |
103 | | - <f:render partial="SocialmediaLink" arguments="{linkHref: pinterestLink, linkTitle: 'Pinterest', iconClass: 'icons icon-t3-pinterest'}"/> |
| 103 | + <f:render section="SocialmediaLink" arguments="{linkHref: pinterestLink, linkTitle: 'Pinterest', iconClass: 'icons icon-t3-pinterest'}"/> |
104 | 104 | </f:if> |
105 | 105 | <f:comment><!-- instagramLink --></f:comment> |
106 | 106 | <f:if condition="{theme:constant(constant:'themes.configuration.socialmedia.useInstagram')}"> |
|
114 | 114 | </f:if> |
115 | 115 | </f:else> |
116 | 116 | </f:if> |
117 | | - <f:render partial="SocialmediaLink" arguments="{linkHref: instagramLink, linkTitle: 'Instagram', iconClass: 'icons icon-t3-instagram'}"/> |
| 117 | + <f:render section="SocialmediaLink" arguments="{linkHref: instagramLink, linkTitle: 'Instagram', iconClass: 'icons icon-t3-instagram'}"/> |
118 | 118 | </f:if> |
119 | 119 | <f:comment><!-- youtubeLink --></f:comment> |
120 | 120 | <f:if condition="{theme:constant(constant:'themes.configuration.socialmedia.useYoutube')}"> |
|
128 | 128 | </f:if> |
129 | 129 | </f:else> |
130 | 130 | </f:if> |
131 | | - <f:render partial="SocialmediaLink" arguments="{linkHref: youtubeLink, linkTitle: 'Youtube', iconClass: 'icons icon-t3-youtube'}"/> |
| 131 | + <f:render section="SocialmediaLink" arguments="{linkHref: youtubeLink, linkTitle: 'Youtube', iconClass: 'icons icon-t3-youtube'}"/> |
132 | 132 | </f:if> |
133 | 133 | <f:comment><!-- mynewsdeskLink --></f:comment> |
134 | 134 | <f:if condition="{theme:constant(constant:'themes.configuration.socialmedia.useMynewsdesk')}"> |
|
142 | 142 | </f:if> |
143 | 143 | </f:else> |
144 | 144 | </f:if> |
145 | | - <f:render partial="SocialmediaLink" arguments="{linkHref: mynewsdeskLink, linkTitle: 'Mynewsdesk', iconClass: 'icons icon-t3-mynewsdesk'}"/> |
| 145 | + <f:render section="SocialmediaLink" arguments="{linkHref: mynewsdeskLink, linkTitle: 'Mynewsdesk', iconClass: 'icons icon-t3-mynewsdesk'}"/> |
146 | 146 | </f:if> |
147 | 147 | </div> |
148 | 148 | <!-- theme_t3kit: Partials/Footer/Socialmedia.html [end] --> |
149 | 149 | </f:section> |
| 150 | + |
| 151 | + <f:section name="SocialmediaLink"> |
| 152 | + <f:if condition="{linkHref}"> |
| 153 | + <f:spaceless> |
| 154 | + <a class="social-icons__item" href="{linkHref}" target="_blank" title="{linkTitle}" aria-label="{linkTitle}"> |
| 155 | + <span aria-hidden="true" class="{iconClass}"></span> |
| 156 | + </a> |
| 157 | + </f:spaceless> |
| 158 | + </f:if> |
| 159 | + </f:section> |
150 | 160 | </div> |
0 commit comments