Add an "icon" link with empty data URI.
authorNick Bowler <nbowler@draconx.ca>
Thu, 10 Jan 2019 03:22:56 +0000 (22:22 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 10 Jan 2019 03:22:56 +0000 (22:22 -0500)
This appears to stop pointless requests to /favicon.ico,
at least in some browsers.

layouts/default.xsl

index 020d1fdc61bd89728a910eb97587f052345eaf89..5a01d79cfcf870176fbc94052b4fa7c1765f3a73 100644 (file)
     <head>
       <meta name='viewport' content='width=device-width, initial-scale=1' />
       <link rel='stylesheet' type='text/css' href='/style.css' />
+      <link rel="icon" href="data:," />
       <title>
         <xsl:variable name='page-title' select='string(/document/title)' />
         <xsl:if test='$page-title and $site-title != $page-title'>