<%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
<%if success%>
Link Published to Social Media
<%else%>Publish Link to Social Media
<%endif%> <%set ID ||= 4031%> <%Plugins::SocialMedia::format_link($ID)%> <%--<%if twitter_published%>It has been published to twitter.<%elsif twitter_published_message%>There is an error posting twitter: <%twitter_published_message%><%endif%>
<%if facebook_published%>It has been published to facebook.<%elsif facebook_published_message%>There is an error posting facebook: <%facebook_published_message%><%endif%>
<%else%>
The following link has been created:
<%Title%>
<%~if Category_loop.length > 1%>
- <%loop Category_loop%>
- <%loop_value%> <%endloop%>
<%if Link_Type eq 'photo'%>Photo Gallery<%elseif Link_Type eq 'video'%>Video<%else%>Article<%endif%>
<%escape_html Description%>
<%escape_html Contact_Name%>
<%escape_html Contact_Email%>
<%~if config.build_auto_validate%> Your link has been added to <%if Category_loop.length > 1%>the following categories: <%loop Category_loop%><%loop_value%><%unless last%>, <%endunless%><%endloop%><%else%><%Category%><%endif%>. You can preview the link at here. <%~else%> Thank you! We will send you an e-mail once your link has been validated. <%~endif%>
<%--Build it?
--%>
Publish it?
<%endif%> <%include include_content_bottom.html%>