discourse-legacysite-perl/site/articles/include_breadcrumb.html

14 lines
554 B
HTML
Raw Normal View History

2024-06-17 12:24:05 +00:00
<div class="breadcrumb">
<%~if Link_Type ieq 'photo' and $slideshow%>
<%set mode = 'photo'%>
<%~elsif Link_Type ieq 'video'%>
<%set mode = 'video'%>
<%~endif%>
<%~if title_loop%>
<%~ set breadcrumbs_loop = Plugins::UI::rewrite_breadcrumbs($title_loop, $mode)%>
<%~else%>
<%~ set breadcrumbs_loop = Plugins::UI::rewrite_breadcrumbs($main_title_loop, $mode)%>
<%~endif%>
<%Links::Utils::format_title($breadcrumbs_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>