summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-08 06:52:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-08 06:52:26 +0000
commitc6cf91dc02eb142b145fe71846b1415c5a37afef (patch)
tree64c7c8631c6061bb1472e9114b0b18402d34b584 /templates
parent4a84f0bc2ad23687d996a116a6a1c1d1cae0a553 (diff)
downloadampache-c6cf91dc02eb142b145fe71846b1415c5a37afef.tar.gz
ampache-c6cf91dc02eb142b145fe71846b1415c5a37afef.tar.bz2
ampache-c6cf91dc02eb142b145fe71846b1415c5a37afef.zip
rss fixes
Diffstat (limited to 'templates')
-rw-r--r--templates/header.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/header.inc b/templates/header.inc
index 5f7eed74..205c1da2 100644
--- a/templates/header.inc
+++ b/templates/header.inc
@@ -28,6 +28,12 @@ $location = get_location();
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $htmllang; ?>" lang="<?php echo $htmllang; ?>">
<head>
<link rel="shortcut icon" href="<?php echo conf('web_path'); ?>/favicon.ico" />
+<?php
+if (conf('use_rss')){
+?>
+<link rel="alternate" type="application/rss+xml" title="<?php echo conf('rss_main_title'); ?>" href="<?php echo conf('web_path'); ?>/rss.php" />
+<?php } ?>
+
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo conf('site_charset'); ?>" />
<?php show_template('menustyle'); ?>
<?php show_template('style'); ?>