Show
Ignore:
Timestamp:
01/03/07 09:36:37 (14 years ago)
Author:
Mitchman
Message:

smarty rss_feed variable is set in the page class so it can be accessed in the header of the index.tpl template. This makes it possible to add a <link rel="alternative"...> header making it possible for browsers to autodetect when the rss feed is available.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/templates/index.tpl

    r154 r169  
    66<link rel="stylesheet" type="text/css" href="{$style_url}/common.css"> 
    77<link rel="stylesheet" type="text/css" href="{$style_url}/{$style}/style.css"> 
     8{if $rss_feed} 
     9<link rel="alternate" type="application/rss+xml" title="RSS feed for watched kills" href="?a=rss" /> 
     10{/if} 
    811<script language=javascript src="{$common_url}/generic.js"></script> 
    912