Skip to content

Commit

Permalink
Merge pull request #1643 from tedstrauss/title_crumb
Browse files Browse the repository at this point in the history
display breadcrumb in the html <title>
  • Loading branch information
samirdas committed Mar 29, 2016
2 parents 37f317a + c30ed4d commit 81a5c14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions smarty/templates/main.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@

<title>
{$study_title}
{if $crumbs != ""}
{section name=crumb loop=$crumbs}
- {$crumbs[crumb].text}
{/section}
{/if}
</title>
<script language="javascript" type="text/javascript">
$(document).ready(function(){
Expand Down

0 comments on commit 81a5c14

Please # to comment.