Changeset 32599 for main/trunk


Ignore:
Timestamp:
2018-11-14T09:47:12+13:00 (5 years ago)
Author:
davidb
Message:

Splicing in of new template rule to make it easier for a site or collection to specify its own favourite icon shown in the browser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r32474 r32599  
    8585    </xsl:choose>
    8686    <link rel="stylesheet" href="interfaces/{$interface_name}/style/core.css" type="text/css"/>
    87     <link rel="shortcut icon" href="interfaces/{$interface_name}/images/favicon.ico"/>
     87    <xsl:call-template name="favicon"/>
    8888   
    8989    <script type="text/javascript" src="interfaces/{$interface_name}/js/jquery.min.js"><xsl:text> </xsl:text></script>
     
    142142  </xsl:template>
    143143
     144  <xsl:template name="favicon">
     145    <link rel="shortcut icon" href="interfaces/{$interface_name}/images/favicon.ico"/>
     146  </xsl:template>
     147 
    144148  <!-- This template allows for extra header content to be added by page, interface, site and collection. -->
    145149  <xsl:template name="additionalHeaderContent">
Note: See TracChangeset for help on using the changeset viewer.